2016-03-21 20:46:14 +00:00
|
|
|
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }:
|
2016-07-21 05:21:01 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-14 16:18:17 +01:00
|
|
|
name = "atftp-${version}";
|
2016-07-21 05:21:01 +01:00
|
|
|
version = "0.7.1";
|
|
|
|
|
2014-09-13 16:39:40 +01:00
|
|
|
src = fetchurl {
|
2016-07-21 05:21:01 +01:00
|
|
|
url = "mirror://sourceforge/atftp/${name}.tar.gz";
|
|
|
|
sha256 = "0bgr31gbnr3qx4ixf8hz47l58sh3367xhcnfqd8233fvr84nyk5f";
|
2014-09-13 16:39:40 +01:00
|
|
|
};
|
2016-07-21 05:21:01 +01:00
|
|
|
|
2016-03-21 20:46:14 +00:00
|
|
|
buildInputs = [ readline tcp_wrappers pcre makeWrapper gcc ];
|
2016-07-21 05:21:01 +01:00
|
|
|
|
|
|
|
# Expects pre-GCC5 inline semantics
|
|
|
|
NIX_CFLAGS_COMPILE = "-std=gnu89";
|
|
|
|
|
2014-09-13 16:39:40 +01:00
|
|
|
meta = {
|
|
|
|
description = "Advanced tftp tools";
|
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
};
|
2014-08-24 13:19:55 +01:00
|
|
|
}
|