nixpkgs/pkgs/development/python-modules/modeled/default.nix

46 lines
717 B
Nix
Raw Normal View History

2019-07-16 12:57:16 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, zetup
, six
, moretools
, pathpy
, pytest
}:
buildPythonPackage rec {
pname = "modeled";
version = "0.1.8";
src = fetchPypi {
extension = "zip";
inherit pname version;
sha256 = "64934c68cfcdb75ed4a1ccadcfd5d2a46bf1b8e8e81dde89ef0f042c401e94f1";
};
buildInputs = [
zetup
];
propagatedBuildInputs = [
six
moretools
pathpy
];
checkInputs = [
pytest
];
checkPhase = ''
pytest test
'';
meta = with lib; {
description = "Universal data modeling for Python";
homepage = "https://bitbucket.org/userzimmermann/python-modeled";
2019-07-16 12:57:16 +01:00
license = licenses.lgpl3;
maintainers = [ maintainers.costrouc ];
};
}