2020-04-24 23:36:52 +00:00
|
|
|
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "atftp";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "0.7.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/atftp/${pname}-${version}.tar.gz";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-08nNDZcd/Hhtel9AVcNdTmaq/IECrANHPvIlvfftsmo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ readline tcp_wrappers pcre gcc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
}
|