nixpkgs/pkgs/tools/networking/atftp/default.nix

27 lines
679 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }:
2016-07-21 04:21:01 +00:00
stdenv.mkDerivation rec {
pname = "atftp";
2021-09-18 14:52:37 +00:00
version = "0.7.5";
2016-07-21 04:21:01 +00:00
src = fetchurl {
url = "mirror://sourceforge/atftp/${pname}-${version}.tar.gz";
2021-09-18 14:52:37 +00:00
sha256 = "12h3sgkd25j4nfagil2jqyj1n8yxvaawj0cf01742642n57pmj4k";
};
2016-07-21 04:21:01 +00:00
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ readline tcp_wrappers pcre gcc ];
2016-07-21 04:21:01 +00: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;
};
}