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
|
|
@ -0,0 +1,33 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, zc-buildout
|
||||
, zope_testrunner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "z3c-checkversions";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "z3c.checkversions";
|
||||
sha256 = "94c7ab0810ee6fdb66a4689b48e537b57e2dbee277cb1de2ece7a7f4d8c83001";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zc-buildout ];
|
||||
checkInputs = [ zope_testrunner ];
|
||||
doCheck = !python.pkgs.isPy27;
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m zope.testrunner --test-path=src []
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
||||
homepage = "https://github.com/zopefoundation/z3c.checkversions";
|
||||
description = "Find newer package versions on PyPI";
|
||||
license = licenses.zpl21;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue