1{
2 stdenv,
3 lib,
4 buildPythonPackage,
5 fetchPypi,
6 zetup,
7 six,
8 moretools,
9 path,
10 pytestCheckHook,
11}:
12
13buildPythonPackage rec {
14 pname = "modeled";
15 version = "0.1.8";
16 format = "setuptools";
17
18 src = fetchPypi {
19 extension = "zip";
20 inherit pname version;
21 sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
22 };
23
24 buildInputs = [ zetup ];
25
26 propagatedBuildInputs = [
27 six
28 moretools
29 path
30 ];
31
32 nativeCheckInputs = [ pytestCheckHook ];
33
34 pythonImportsCheck = [ "modeled" ];
35
36 meta = with lib; {
37 broken =
38 (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) || stdenv.hostPlatform.isDarwin;
39 description = "Universal data modeling for Python";
40 homepage = "https://github.com/modeled/modeled";
41 license = licenses.lgpl3Only;
42 maintainers = [ ];
43 };
44}