Loading pkgs/development/python-modules/ziamath/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchFromBitbucket , ziafont , pytestCheckHook , nbval , latex2mathml }: buildPythonPackage rec { pname = "ziamath"; version = "0.7"; disabled = pythonOlder "3.8"; src = fetchFromBitbucket { owner = "cdelker"; repo = pname; rev = version; hash = "sha256-JuuCDww0EZEHZLxB5oQrWEJpv0szjwe4iXCRGl7OYTA="; }; propagatedBuildInputs = [ ziafont ]; nativeCheckInputs = [ pytestCheckHook nbval latex2mathml ]; pytestFlagsArray = [ "--nbval-lax" ]; pythonImportsCheck = [ "ziamath" ]; meta = with lib; { description = "Render MathML and LaTeX Math to SVG without Latex installation"; homepage = "https://ziamath.readthedocs.io/en/latest/"; changelog = "https://ziamath.readthedocs.io/en/latest/changes.html"; license = licenses.mit; maintainers = with maintainers; [ sfrijters ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12940,6 +12940,8 @@ self: super: with self; { ziafont = callPackage ../development/python-modules/ziafont { }; ziamath = callPackage ../development/python-modules/ziamath { }; zict = callPackage ../development/python-modules/zict { }; zigpy = callPackage ../development/python-modules/zigpy { }; Loading Loading
pkgs/development/python-modules/ziamath/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchFromBitbucket , ziafont , pytestCheckHook , nbval , latex2mathml }: buildPythonPackage rec { pname = "ziamath"; version = "0.7"; disabled = pythonOlder "3.8"; src = fetchFromBitbucket { owner = "cdelker"; repo = pname; rev = version; hash = "sha256-JuuCDww0EZEHZLxB5oQrWEJpv0szjwe4iXCRGl7OYTA="; }; propagatedBuildInputs = [ ziafont ]; nativeCheckInputs = [ pytestCheckHook nbval latex2mathml ]; pytestFlagsArray = [ "--nbval-lax" ]; pythonImportsCheck = [ "ziamath" ]; meta = with lib; { description = "Render MathML and LaTeX Math to SVG without Latex installation"; homepage = "https://ziamath.readthedocs.io/en/latest/"; changelog = "https://ziamath.readthedocs.io/en/latest/changes.html"; license = licenses.mit; maintainers = with maintainers; [ sfrijters ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12940,6 +12940,8 @@ self: super: with self; { ziafont = callPackage ../development/python-modules/ziafont { }; ziamath = callPackage ../development/python-modules/ziamath { }; zict = callPackage ../development/python-modules/zict { }; zigpy = callPackage ../development/python-modules/zigpy { }; Loading