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