python311Packages.dask-expr: init at 1.0.12
This commit is contained in:
parent
8347d265bf
commit
caa3289d46
60
pkgs/development/python-modules/dask-expr/default.nix
Normal file
60
pkgs/development/python-modules/dask-expr/default.nix
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
pythonOlder,
|
||||||
|
fetchFromGitHub,
|
||||||
|
setuptools,
|
||||||
|
versioneer,
|
||||||
|
wheel,
|
||||||
|
dask,
|
||||||
|
pandas,
|
||||||
|
pyarrow,
|
||||||
|
distributed,
|
||||||
|
pytestCheckHook,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dask-expr";
|
||||||
|
version = "1.0.12";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dask";
|
||||||
|
repo = "dask-expr";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-B/BkLOZhvUyjinaFKp0ecUfzvLb5S90q+YHmJwS6WSQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace-fail "versioneer[toml]==0.28" "versioneer[toml]"
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
versioneer
|
||||||
|
wheel
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
dask
|
||||||
|
pandas
|
||||||
|
pyarrow
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "dask_expr" ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
distributed
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "";
|
||||||
|
homepage = "https://github.com/dask/dask-expr";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ GaetanLepage ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2698,6 +2698,8 @@ self: super: with self; {
|
||||||
|
|
||||||
dask-awkward = callPackage ../development/python-modules/dask-awkward { };
|
dask-awkward = callPackage ../development/python-modules/dask-awkward { };
|
||||||
|
|
||||||
|
dask-expr = callPackage ../development/python-modules/dask-expr { };
|
||||||
|
|
||||||
dask-gateway = callPackage ../development/python-modules/dask-gateway { };
|
dask-gateway = callPackage ../development/python-modules/dask-gateway { };
|
||||||
|
|
||||||
dask-gateway-server = callPackage ../development/python-modules/dask-gateway-server { };
|
dask-gateway-server = callPackage ../development/python-modules/dask-gateway-server { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user