diff options
author | Nikolay Amiantov <ab@fmap.me> | 2019-06-03 18:12:25 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2019-06-04 01:36:27 +0300 |
commit | 3c6f43f5cd59e9df5e21a42eb4e75a979c33e1d2 (patch) | |
tree | 57376050de73cb928f43f1a863e2090d0017c07f /pkgs | |
parent | c5ed8dd610129197dd113a5c98ef375d89624b5c (diff) |
python3.pkgs.datatable: init at 0.8.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/datatable/default.nix | 40 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/datatable/default.nix b/pkgs/development/python-modules/datatable/default.nix new file mode 100644 index 0000000000000..3ea926ac23bea --- /dev/null +++ b/pkgs/development/python-modules/datatable/default.nix @@ -0,0 +1,40 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, llvm +, typesentry +, blessed +, pytest +}: + +buildPythonPackage rec { + pname = "datatable"; + version = "0.8.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1s8z81zffrckvdwrrl0pkjc7gsdvjxw59xgg6ck81dl7gkh5grjk"; + }; + + disabled = pythonOlder "3.5"; + + propagatedBuildInputs = [ typesentry blessed ]; + buildInputs = [ llvm ]; + checkInputs = [ pytest ]; + + LLVM = llvm; + + checkPhase = '' + # py.test adds local datatable to path, which doesn't contain built native library. + mv datatable datatable.hidden + pytest + ''; + + meta = with lib; { + description = "data.table for Python"; + homepage = "https://github.com/h2oai/datatable"; + license = licenses.mpl20; + maintainers = with maintainers; [ abbradar ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9443cdcb968f7..ff22e0cfa6fc8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -345,6 +345,8 @@ in { btchip = callPackage ../development/python-modules/btchip { }; + datatable = callPackage ../development/python-modules/datatable { }; + datamodeldict = callPackage ../development/python-modules/datamodeldict { }; datasette = callPackage ../development/python-modules/datasette { }; |