summary refs log tree commit diff
path: root/pkgs/development/python-modules/modeled/default.nix
blob: dc50ea3141e3fe906ede5138e206df4b3fe7272d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ stdenv
, 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; {
    broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
    description = "Universal data modeling for Python";
    homepage = "https://github.com/modeled/modeled";
    license = licenses.lgpl3Only;
    maintainers = [ maintainers.costrouc ];
  };
}