8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
25 lines
652 B
Nix
25 lines
652 B
Nix
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "atftp";
|
|
version = "0.7.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/atftp/${pname}-${version}.tar.gz";
|
|
sha256 = "0hah3fhzl6vfs381883vbvf4d13cdhsyf0x7ncbl55wz9rkq1l0s";
|
|
};
|
|
|
|
buildInputs = [ readline tcp_wrappers pcre makeWrapper gcc ];
|
|
|
|
# Expects pre-GCC5 inline semantics
|
|
NIX_CFLAGS_COMPILE = "-std=gnu89";
|
|
|
|
doCheck = false; # fails
|
|
|
|
meta = {
|
|
description = "Advanced tftp tools";
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
platforms = lib.platforms.linux;
|
|
license = lib.licenses.gpl2Plus;
|
|
};
|
|
}
|