nixpkgs/pkgs/data/misc/iana-etc/default.nix

19 lines
511 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "iana-etc-2.30";
src = fetchurl {
url = "http://sethwklein.net/projects/iana-etc/downloads/${name}.tar.bz2";
sha256 = "03gjlg5zlwsdk6qyw3v85l129rna5bpm4m7pzrp864h0n97qg9mr";
};
preInstall = "installFlags=\"PREFIX=$out\"";
meta = {
homepage = http://sethwklein.net/projects/iana-etc/;
description = "IANA protocol and port number assignments (/etc/protocols and /etc/services)";
platforms = stdenv.lib.platforms.unix;
};
}