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
28
pkgs/development/python-modules/cloudpickle/default.nix
Normal file
28
pkgs/development/python-modules/cloudpickle/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cloudpickle";
|
||||
version = "2.0.0";
|
||||
disabled = isPy27; # abandoned upstream
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5cd02f3b417a783ba84a4ec3e290ff7929009fe51f6405423cfccfadd43ba4a4";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest mock ];
|
||||
|
||||
# See README for tests invocation
|
||||
checkPhase = ''
|
||||
PYTHONPATH=$PYTHONPATH:'.:tests' py.test
|
||||
'';
|
||||
|
||||
# TypeError: cannot serialize '_io.FileIO' object
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extended pickling support for Python objects";
|
||||
homepage = "https://github.com/cloudpipe/cloudpickle";
|
||||
license = with licenses; [ bsd3 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue