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
35
pkgs/development/python-modules/testrepository/default.nix
Normal file
35
pkgs/development/python-modules/testrepository/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, testtools
|
||||
, testresources
|
||||
, pbr
|
||||
, subunit
|
||||
, fixtures
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "testrepository";
|
||||
version = "0.0.20";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ssqb07c277010i6gzzkbdd46gd9mrj0bi0i8vn560n2k2y4j93m";
|
||||
};
|
||||
|
||||
checkInputs = [ testresources ];
|
||||
buildInputs = [ pbr ];
|
||||
propagatedBuildInputs = [ fixtures subunit testtools ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} ./testr
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A database of test results which can be used as part of developer workflow";
|
||||
homepage = "https://pypi.python.org/pypi/testrepository";
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue