mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-07 04:57:26 +03:00
python311Packages.dask-yarn: fix build
This commit is contained in:
parent
a32bb7efcc
commit
7c5af496aa
@ -4,6 +4,7 @@
|
||||
, dask
|
||||
, distributed
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, grpcio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@ -19,11 +20,19 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
repo = "dask-yarn";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-/BTsxQSiVQrihrCa9DE7pueyg3aPAdjd/Dt4dpUwdtM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch { # https://github.com/dask/dask-yarn/pull/150
|
||||
name = "address-deprecations-introduced-in-distributed-2021-07-0";
|
||||
url = "https://github.com/dask/dask-yarn/pull/150/commits/459848afcdc22568905ee98622c74e4071496423.patch";
|
||||
hash = "sha256-LS46QBdiAmsp4jQq4DdYdmmk1qzx5JZNTQUlRcRwY5k=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
distributed
|
||||
dask
|
||||
|
Loading…
Reference in New Issue
Block a user