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/sure/default.nix
Normal file
38
pkgs/development/python-modules/sure/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, rednose
|
||||
, six
|
||||
, mock
|
||||
, isPyPy
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sure";
|
||||
version = "2.0.0";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "34ae88c846046742ef074036bf311dc90ab152b7bc09c342b281cebf676727a2";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/gabrielfalcao/sure/issues/169
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/archlinux/svntogit-community/055baa81cd987e566de62a5657513937521a90d4/trunk/python310.diff";
|
||||
sha256 = "sha256-BKylV8xpTOuO/X4hzZKpoIcAQcdAK0kXYENRad7AGPc=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ rednose ];
|
||||
propagatedBuildInputs = [ six mock ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utility belt for automated testing";
|
||||
homepage = "https://sure.readthedocs.io/en/latest/";
|
||||
license = licenses.gpl3Plus;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue