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

36 lines
682 B
Nix
Raw Normal View History

2019-07-16 14:57:16 +03:00
{ lib
, buildPythonPackage
, fetchPypi
, zetup
, six
, moretools
, pathpy
, pytestCheckHook
2019-07-16 14:57:16 +03:00
}:
buildPythonPackage rec {
pname = "modeled";
version = "0.1.8";
src = fetchPypi {
extension = "zip";
inherit pname version;
sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
2019-07-16 14:57:16 +03:00
};
buildInputs = [ zetup ];
2019-07-16 14:57:16 +03:00
propagatedBuildInputs = [ six moretools pathpy ];
2019-07-16 14:57:16 +03:00
checkInputs = [ pytestCheckHook ];
2019-07-16 14:57:16 +03:00
2021-02-15 15:27:29 +03:00
pythonImportsCheck = [ "modeled" ];
2019-07-16 14:57:16 +03:00
meta = with lib; {
description = "Universal data modeling for Python";
2021-02-15 15:27:29 +03:00
homepage = "https://github.com/modeled/modeled";
license = licenses.lgpl3Only;
2019-07-16 14:57:16 +03:00
maintainers = [ maintainers.costrouc ];
};
}