depot/third_party/nixpkgs/pkgs/tools/networking/atftp/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
651 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=";
};
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;
};
}