depot/third_party/nixpkgs/pkgs/development/python-modules/modeled/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

35 lines
678 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, zetup
, six
, moretools
, path
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "modeled";
version = "0.1.8";
src = fetchPypi {
extension = "zip";
inherit pname version;
sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
};
buildInputs = [ zetup ];
propagatedBuildInputs = [ six moretools path ];
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 ];
};
}