pythonPackages.modeled: Fix hash, cleanup

This commit is contained in:
Sandro Jäckel 2021-01-01 00:40:58 +01:00
parent 9b2ddc9ad0
commit 83a9c45543
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

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 ];
}; };
} }