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
47
pkgs/development/python-modules/dill/default.nix
Normal file
47
pkgs/development/python-modules/dill/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dill";
|
||||
version = "0.3.4";
|
||||
doCheck = !isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uqfoundation";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "0x702gh50wb3n820p2p9w49cn4a354y207pllwc7snfxprv6hypm";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Tests seem to fail because of import pathing and referencing items/classes in modules.
|
||||
# Seems to be a Nix/pathing related issue, not the codebase, so disabling failing tests.
|
||||
disabledTestPaths = [
|
||||
"tests/test_diff.py"
|
||||
"tests/test_module.py"
|
||||
"tests/test_objects.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_class_objects"
|
||||
"test_method_decorator"
|
||||
"test_importable"
|
||||
"test_the_rest"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dill" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Serialize all of python (almost)";
|
||||
homepage = "https://github.com/uqfoundation/dill/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue