python3Packages.ziamath: init at 0.7

This commit is contained in:
Stefan Frijters 2023-03-19 13:33:35 +01:00
parent 46c2b72e19
commit 2b5351b246
No known key found for this signature in database
GPG Key ID: 7619A6BC6E7DFA6F
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ 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 ];
};
}

View File

@ -12940,6 +12940,8 @@ self: super: with self; {
ziafont = callPackage ../development/python-modules/ziafont { }; ziafont = callPackage ../development/python-modules/ziafont { };
ziamath = callPackage ../development/python-modules/ziamath { };
zict = callPackage ../development/python-modules/zict { }; zict = callPackage ../development/python-modules/zict { };
zigpy = callPackage ../development/python-modules/zigpy { }; zigpy = callPackage ../development/python-modules/zigpy { };