2016-03-21 21:46:14 +01:00
|
|
|
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }:
|
2016-07-21 06:21:01 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "atftp";
|
2021-02-04 03:39:41 +01:00
|
|
|
version = "0.7.4";
|
2016-07-21 06:21:01 +02:00
|
|
|
|
2014-09-13 17:39:40 +02:00
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/atftp/${pname}-${version}.tar.gz";
|
2021-02-04 03:39:41 +01:00
|
|
|
sha256 = "sha256-08nNDZcd/Hhtel9AVcNdTmaq/IECrANHPvIlvfftsmo=";
|
2014-09-13 17:39:40 +02:00
|
|
|
};
|
2016-07-21 06:21:01 +02:00
|
|
|
|
2021-02-07 10:17:39 +01:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ readline tcp_wrappers pcre gcc ];
|
2016-07-21 06:21:01 +02:00
|
|
|
|
|
|
|
# Expects pre-GCC5 inline semantics
|
|
|
|
NIX_CFLAGS_COMPILE = "-std=gnu89";
|
|
|
|
|
2018-04-25 05:20:18 +02:00
|
|
|
doCheck = false; # fails
|
|
|
|
|
2014-09-13 17:39:40 +02:00
|
|
|
meta = {
|
|
|
|
description = "Advanced tftp tools";
|
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
};
|
2014-08-24 14:19:55 +02:00
|
|
|
}
|