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
26
pkgs/development/tools/tradcpp/default.nix
Normal file
26
pkgs/development/tools/tradcpp/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchurl, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tradcpp";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ftp.netbsd.org/pub/NetBSD/misc/dholland/${pname}-${version}.tar.gz";
|
||||
sha256 = "1h2bwxwc13rz3g2236l89hm47f72hn3m4h7wjir3j532kq0m68bc";
|
||||
};
|
||||
|
||||
# tradcpp only comes with BSD-make Makefile; the patch adds configure support
|
||||
buildInputs = [ autoconf ];
|
||||
preConfigure = "autoconf";
|
||||
patches = [
|
||||
./tradcpp-configure.patch
|
||||
./aarch64.patch
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A traditional (K&R-style) C macro preprocessor";
|
||||
platforms = platforms.all;
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue