depot/third_party/nixpkgs/pkgs/development/python-modules/modeled/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

45 lines
717 B
Nix

{ 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";
license = licenses.lgpl3;
maintainers = [ maintainers.costrouc ];
};
}