diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-05-29 19:12:06 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2013-05-29 19:16:01 +0200 |
commit | 08f8371a500e6186e0d05d28843a27f4f1263a32 (patch) | |
tree | f8d9bcc2cc1869d4511a3bf4e6cfe959538e8662 /pkgs/tools/networking/ahcpd | |
parent | d749196f6829c56e5c573bcc4d6f8f82dbdee698 (diff) |
Adding ahcpd.
Diffstat (limited to 'pkgs/tools/networking/ahcpd')
-rw-r--r-- | pkgs/tools/networking/ahcpd/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/networking/ahcpd/default.nix b/pkgs/tools/networking/ahcpd/default.nix new file mode 100644 index 000000000000..635d94a3e864 --- /dev/null +++ b/pkgs/tools/networking/ahcpd/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "ahcpd-0.53"; + + src = fetchurl { + url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/${name}.tar.gz"; + sha256 = "0lhdmky3zdyk51hclv2lrhw3hzymbdc8bw2khs3rnaibgn0jwqm4"; + }; + + preBuild = '' + makeFlags="PREFIX=$out ETCDIR=$out/etc" + sed -i -e s,etc,$out/etc, Makefile + ''; + + meta = { + homepage = "http://www.pps.univ-paris-diderot.fr/~jch/software/ahcp/"; + description = "Autoconfiguration protocol for IPv6 and dual-stack IPv6/IPv4 networks"; + license = "MIT"; + }; +} |