mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03: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;
|
|
};
|
|
}
|