uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
68
pkgs/development/python-modules/distributed/default.nix
Normal file
68
pkgs/development/python-modules/distributed/default.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, click
|
||||
, cloudpickle
|
||||
, dask
|
||||
, msgpack
|
||||
, psutil
|
||||
, sortedcontainers
|
||||
, tblib
|
||||
, toolz
|
||||
, tornado
|
||||
, zict
|
||||
, pyyaml
|
||||
, mpi4py
|
||||
, bokeh
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "distributed";
|
||||
version = "2022.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
# get full repository need conftest.py to run tests
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-+2KnWvjvM7vhqoCmjAGjOpPBzVozLdAXq0SVW/fs9ls=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bokeh
|
||||
click
|
||||
cloudpickle
|
||||
dask
|
||||
mpi4py
|
||||
msgpack
|
||||
psutil
|
||||
pyyaml
|
||||
sortedcontainers
|
||||
tblib
|
||||
toolz
|
||||
tornado
|
||||
zict
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "dask == 2022.02.0" "dask"
|
||||
'';
|
||||
|
||||
# when tested random tests would fail and not repeatably
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"distributed"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Distributed computation in Python";
|
||||
homepage = "https://distributed.readthedocs.io/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.x86; # fails on aarch64
|
||||
maintainers = with maintainers; [ teh costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue