Merge pull request #108084 from SuperSandro2000/modeled
pythonPackages.modeled: Fix hash, cleanup
This commit is contained in:
commit
344921c8e3
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user