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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, h5py
, nose
}:
buildPythonPackage rec {
version = "1.17.0";
pname = "annoy";
src = fetchPypi {
inherit pname version;
sha256 = "9891e264041d1dcf3af42f67fbb16cb273c5404bc8c869d0915a3087f71d58dd";
};
nativeBuildInputs = [ h5py ];
checkInputs = [
nose
];
meta = with lib; {
description = "Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk";
homepage = "https://github.com/spotify/annoy";
license = licenses.asl20;
maintainers = with maintainers; [ timokau ];
};
}