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,34 @@
|
|||
{ lib
|
||||
, python
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, backports_weakref
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "backports.tempfile";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1c648c452e8770d759bdc5a5e2431209be70d25484e1be24876cf2168722c762";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ backports_weakref ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover -s tests
|
||||
'';
|
||||
|
||||
# requires https://pypi.org/project/backports.test.support
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Backport of new features in Python's tempfile module";
|
||||
license = lib.licenses.psfl;
|
||||
homepage = "https://github.com/pjdelport/backports.tempfile";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue