Merge pull request #108084 from SuperSandro2000/modeled

pythonPackages.modeled: Fix hash, cleanup
This commit is contained in:
Sandro 2021-01-01 01:33:21 +01:00 committed by GitHub
commit 344921c8e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
, six , six
, moretools , moretools
, pathpy , pathpy
, pytest , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,31 +15,19 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
extension = "zip"; extension = "zip";
inherit pname version; inherit pname version;
sha256 = "64934c68cfcdb75ed4a1ccadcfd5d2a46bf1b8e8e81dde89ef0f042c401e94f1"; sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
}; };
buildInputs = [ buildInputs = [ zetup ];
zetup
];
propagatedBuildInputs = [ propagatedBuildInputs = [ six moretools pathpy ];
six
moretools
pathpy
];
checkInputs = [ checkInputs = [ pytestCheckHook ];
pytest
];
checkPhase = ''
pytest test
'';
meta = with lib; { meta = with lib; {
description = "Universal data modeling for Python"; description = "Universal data modeling for Python";
homepage = "https://bitbucket.org/userzimmermann/python-modeled"; homepage = "https://bitbucket.org/userzimmermann/python-modeled";
license = licenses.lgpl3; license = licenses.lgpl3Only;
maintainers = [ maintainers.costrouc ]; maintainers = [ maintainers.costrouc ];
}; };
} }