nixpkgs/pkgs/data/misc/iana-etc/default.nix
Christian Theune 6daa2462c6 Enable syncthing for Mac OS X.
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.
2015-03-30 22:07:02 +02:00

18 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;
};
}