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