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
32
pkgs/tools/networking/atftp/default.nix
Normal file
32
pkgs/tools/networking/atftp/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc, ps }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "atftp";
|
||||
version = "0.7.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/atftp/${pname}-${version}.tar.gz";
|
||||
sha256 = "12h3sgkd25j4nfagil2jqyj1n8yxvaawj0cf01742642n57pmj4k";
|
||||
};
|
||||
|
||||
# fix test script
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ readline tcp_wrappers pcre gcc ];
|
||||
|
||||
# Expects pre-GCC5 inline semantics
|
||||
NIX_CFLAGS_COMPILE = "-std=gnu89";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ ps ];
|
||||
|
||||
meta = {
|
||||
description = "Advanced tftp tools";
|
||||
maintainers = [ lib.maintainers.raskin ];
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue