depot/third_party/nixpkgs/pkgs/development/python-modules/modeled/default.nix
Default email d419639f9c Project import generated by Copybara.
GitOrigin-RevId: 6b1057b452c55bb3b463f0d7055bc4ec3fd1f381
2021-02-17 18:02:09 +01:00

35 lines
682 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, zetup
, six
, moretools
, pathpy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "modeled";
version = "0.1.8";
src = fetchPypi {
extension = "zip";
inherit pname version;
sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
};
buildInputs = [ zetup ];
propagatedBuildInputs = [ six moretools pathpy ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "modeled" ];
meta = with lib; {
description = "Universal data modeling for Python";
homepage = "https://github.com/modeled/modeled";
license = licenses.lgpl3Only;
maintainers = [ maintainers.costrouc ];
};
}