mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
python3.pkgs.datatable: init at 0.8.0
This commit is contained in:
parent
c5ed8dd610
commit
3c6f43f5cd
40
pkgs/development/python-modules/datatable/default.nix
Normal file
40
pkgs/development/python-modules/datatable/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -345,6 +345,8 @@ in {
|
|||||||
|
|
||||||
btchip = callPackage ../development/python-modules/btchip { };
|
btchip = callPackage ../development/python-modules/btchip { };
|
||||||
|
|
||||||
|
datatable = callPackage ../development/python-modules/datatable { };
|
||||||
|
|
||||||
datamodeldict = callPackage ../development/python-modules/datamodeldict { };
|
datamodeldict = callPackage ../development/python-modules/datamodeldict { };
|
||||||
|
|
||||||
datasette = callPackage ../development/python-modules/datasette { };
|
datasette = callPackage ../development/python-modules/datasette { };
|
||||||
|
Loading…
Reference in New Issue
Block a user