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
39
pkgs/development/python-modules/threadpoolctl/default.nix
Normal file
39
pkgs/development/python-modules/threadpoolctl/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, flit
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, scipy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "threadpoolctl";
|
||||
version = "3.0.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
format = "flit";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joblib";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "02zccsiq4gvawy7q2fh3m3hvr40hl2ylmwwny6dv0lqsr2iwgnmn";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook numpy scipy ];
|
||||
disabledTests = [
|
||||
# accepts a limited set of cpu models based on project
|
||||
# developers' hardware
|
||||
"test_architecture"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/joblib/threadpoolctl";
|
||||
description = "Helpers to limit number of threads used in native libraries";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue