python3Packages.pydyf: init at 1.0.2

This commit is contained in:
Rasmus Précenth 2021-11-16 23:29:57 +01:00
parent 83b4175120
commit e951187304
No known key found for this signature in database
GPG key ID: E0D6F12345AD5641
2 changed files with 50 additions and 0 deletions
pkgs
development/python-modules/pydyf
top-level

View file

@ -0,0 +1,48 @@
{ lib,
buildPythonPackage,
fetchPypi,
isPy3k,
pytestCheckHook,
coverage,
ghostscript,
pillow,
pytest,
pytest-cov,
pytest-flake8,
pytest-isort
}:
buildPythonPackage rec {
pname = "pydyf";
version = "0.1.2";
disabled = !isPy3k;
pytestFlagsArray = [
# setup.py is auto-generated and doesn't pass the flake8 check
"--ignore=setup.py"
];
checkInputs = [
pytestCheckHook
coverage
ghostscript
pillow
pytest
pytest-cov
pytest-flake8
pytest-isort
];
src = fetchPypi {
inherit version;
pname = "pydyf";
sha256 = "sha256-Hi9d5IF09QXeAlp9HnzwG73ZQiyoq5RReCvwDuF4YCw=";
};
meta = with lib; {
homepage = "https://doc.courtbouillon.org/pydyf/stable/";
description = "Low-level PDF generator written in Python and based on PDF specification 1.7";
license = licenses.bsd3;
maintainers = with maintainers; [ rprecenth ];
};
}

View file

@ -6346,6 +6346,8 @@ in {
pydy = callPackage ../development/python-modules/pydy { };
pydyf = callPackage ../development/python-modules/pydyf { };
pyechonest = callPackage ../development/python-modules/pyechonest { };
pyeclib = callPackage ../development/python-modules/pyeclib { };