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,21 @@
{lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook
, gmp, mpfr
}:
stdenv.mkDerivation rec {
pname = "fplll";
version = "20160331";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "11dea26c2f9396ffb7a7191aa371343f1f74c5c3";
sha256 = "1clxch9hbr30w6s84m2mprxv58adhg5qw6sa2p3jr1cy4r7r59ib";
};
nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook];
buildInputs = [gmp mpfr];
meta = {
description = "Lattice algorithms using floating-point arithmetic";
license = lib.licenses.lgpl21Plus;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
};
}

View file

@ -0,0 +1,47 @@
{ lib, stdenv
, fetchFromGitHub
, pkg-config
, gettext
, autoreconfHook
, gmp
, mpfr
}:
stdenv.mkDerivation rec {
pname = "fplll";
version = "5.4.2";
src = fetchFromGitHub {
owner = "fplll";
repo = "fplll";
rev = version;
sha256 = "sha256-6pzErZtT5xzCMcsNy2EwrZHiAICLrRl1dv59bp23hAA=";
};
nativeBuildInputs = [
pkg-config
gettext
autoreconfHook
];
buildInputs = [
gmp
mpfr
];
meta = with lib; {
description = "Lattice algorithms using floating-point arithmetic";
changelog = [
# Some release notes are added to the github tags, though they are not
# always complete.
"https://github.com/fplll/fplll/releases/tag/${version}"
# Releases are announced on this mailing list. Unfortunately it is not
# possible to generate a direct link to the most recent announcement, but
# this search should find it.
"https://groups.google.com/forum/#!searchin/fplll-devel/FPLLL$20${version}"
];
license = licenses.lgpl21Plus;
maintainers = teams.sage.members;
platforms = platforms.unix;
};
}