1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/atftp/default.nix

26 lines
650 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }:
2016-07-21 05:21:01 +01:00
stdenv.mkDerivation rec {
name = "atftp-${version}";
2016-07-21 05:21:01 +01:00
version = "0.7.1";
src = fetchurl {
2016-07-21 05:21:01 +01:00
url = "mirror://sourceforge/atftp/${name}.tar.gz";
sha256 = "0bgr31gbnr3qx4ixf8hz47l58sh3367xhcnfqd8233fvr84nyk5f";
};
2016-07-21 05:21:01 +01: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";
doCheck = false; # fails
meta = {
description = "Advanced tftp tools";
maintainers = [ lib.maintainers.raskin ];
platforms = lib.platforms.linux;
license = lib.licenses.gpl2Plus;
};
}