75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
26 lines
678 B
Nix
26 lines
678 B
Nix
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "atftp";
|
|
version = "0.7.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/atftp/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-08nNDZcd/Hhtel9AVcNdTmaq/IECrANHPvIlvfftsmo=";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
buildInputs = [ readline tcp_wrappers pcre 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;
|
|
};
|
|
}
|