mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
6daa2462c6
Also requires enabling iana-etc. I'm shooting for "unix" platforms which seems reasonable. Not sure why this was restricted to linux originally -- the history doesn't tell.
19 lines
511 B
Nix
19 lines
511 B
Nix
{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;
|
|
};
|
|
}
|