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