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
33
pkgs/development/python-modules/pytest-shutil/default.nix
Normal file
33
pkgs/development/python-modules/pytest-shutil/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, isPyPy, buildPythonPackage, fetchPypi
|
||||
, pytest, cmdline, pytest-cov, coverage, setuptools-git, mock, path, execnet
|
||||
, contextlib2, termcolor, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-shutil";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "path.py" "path"
|
||||
'';
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
checkInputs = [ cmdline pytest ];
|
||||
propagatedBuildInputs = [ pytest-cov coverage setuptools-git mock path execnet contextlib2 termcolor six ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A goodie-bag of unix shell and environment tools for py.test";
|
||||
homepage = "https://github.com/manahl/pytest-plugins";
|
||||
maintainers = with maintainers; [ ryansydnor ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue