blob: e6d5abc17618fddec3ea35f7db77062504d7c89b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }:
stdenv.mkDerivation rec {
name = "atftp-${version}";
version = "0.7.2";
src = fetchurl {
url = "mirror://sourceforge/atftp/${name}.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;
};
}
|