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
37
pkgs/development/python-modules/testtools/default.nix
Normal file
37
pkgs/development/python-modules/testtools/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonRelaxDepsHook
|
||||
, pbr
|
||||
, python-mimeparse
|
||||
, extras
|
||||
, unittest2
|
||||
, traceback2
|
||||
, testscenarios
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "testtools";
|
||||
version = "2.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "57c13433d94f9ffde3be6534177d10fb0c1507cc499319128958ca91a65cb23f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pbr python-mimeparse extras ];
|
||||
buildInputs = [ traceback2 ];
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
# testscenarios has a circular dependency on testtools
|
||||
doCheck = false;
|
||||
checkInputs = [ testscenarios ];
|
||||
|
||||
pythonRemoveDeps = [ "fixtures" ];
|
||||
|
||||
meta = {
|
||||
description = "A set of extensions to the Python standard library's unit testing framework";
|
||||
homepage = "https://pypi.python.org/pypi/testtools";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue