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
38
pkgs/development/python-modules/setuptoolstrial/default.nix
Normal file
38
pkgs/development/python-modules/setuptoolstrial/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, virtualenv
|
||||
, pytest-runner
|
||||
, pytest-virtualenv
|
||||
, twisted
|
||||
, pathlib2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "setuptools_trial";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14220f8f761c48ba1e2526f087195077cf54fad7098b382ce220422f0ff59b12";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest virtualenv pytest-runner pytest-virtualenv ];
|
||||
propagatedBuildInputs = [ twisted pathlib2 ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '12,$d' tests/test_main.py
|
||||
'';
|
||||
|
||||
# Couldn't get tests working
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Setuptools plugin that makes unit tests execute with trial instead of pyunit.";
|
||||
homepage = "https://github.com/rutsky/setuptools-trial";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ ryansydnor ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue