|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }: |
|
|
|
|
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc, ps }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "atftp"; |
|
|
|
@ -9,13 +9,19 @@ stdenv.mkDerivation rec { |
|
|
|
|
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 = false; # fails |
|
|
|
|
doCheck = true; |
|
|
|
|
checkInputs = [ ps ]; |
|
|
|
|
|
|
|
|
|
meta = { |
|
|
|
|
description = "Advanced tftp tools"; |
|
|
|
|