mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
iana-etc: 2.30 -> 20170328
This commit is contained in:
parent
c9ecc70880
commit
50527dbd0e
@ -1,17 +1,21 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iana-etc-2.30";
|
||||
name = "iana-etc-${version}";
|
||||
version = "20170328";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://sethwklein.net/${name}.tar.bz2";
|
||||
sha256 = "03gjlg5zlwsdk6qyw3v85l129rna5bpm4m7pzrp864h0n97qg9mr";
|
||||
url = "https://github.com/Mic92/iana-etc/releases/download/${version}/iana-etc-${version}.tar.gz";
|
||||
sha256 = "0c0zgijmh035wan3pvz8ykkmkdbraml4b9kx36b4j1lj9fhgy1yk";
|
||||
};
|
||||
|
||||
preInstall = "installFlags=\"PREFIX=$out\"";
|
||||
installPhase = ''
|
||||
mkdir -p $out/etc
|
||||
cp services protocols $out/etc/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://sethwklein.net/iana-etc;
|
||||
homepage = https://github.com/Mic92/iana-etc;
|
||||
description = "IANA protocol and port number assignments (/etc/protocols and /etc/services)";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user