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
58
pkgs/development/python-modules/testfixtures/default.nix
Normal file
58
pkgs/development/python-modules/testfixtures/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, sybil
|
||||
, twisted
|
||||
, zope_component
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "testfixtures";
|
||||
version = "6.18.5";
|
||||
format = "setuptools";
|
||||
# DO NOT CONTACT upstream.
|
||||
# https://github.com/simplistix/ is only concerned with internal CI process.
|
||||
# Any attempt by non-standard pip workflows to comment on issues will
|
||||
# be met with hostility.
|
||||
# https://github.com/simplistix/testfixtures/issues/169
|
||||
# https://github.com/simplistix/testfixtures/issues/168
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Atrog/Vn9bcP0608nu+5WRLniskL5sdES14vRr9XLIQ=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
sybil
|
||||
twisted
|
||||
zope_component
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Django is too much hasle to setup at the moment
|
||||
"testfixtures/tests/test_django"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"testfixtures/tests"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"testfixtures"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of helpers and mock objects for unit tests and doc tests";
|
||||
homepage = "https://github.com/Simplistix/testfixtures";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ siriobalmelli ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue