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/development/python-modules/datatable | |
| parent | python3.pkgs.typesentry: init at 0.2.7 (diff) | |
| download | nixpkgs-3c6f43f5cd59e9df5e21a42eb4e75a979c33e1d2.tar.gz | |
python3.pkgs.datatable: init at 0.8.0
Diffstat (limited to 'pkgs/development/python-modules/datatable')
| -rw-r--r-- | pkgs/development/python-modules/datatable/default.nix | 40 |
1 files changed, 40 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 000000000000..3ea926ac23be --- /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 ]; + }; +} |
