1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/ahcpd-${version}.tar.gz";
9 sha256 = "0lhdmky3zdyk51hclv2lrhw3hzymbdc8bw2khs3rnaibgn0jwqm4";
13 makeFlags="PREFIX=$out ETCDIR=$out/etc"
14 sed -i -e s,etc,$out/etc, Makefile
18 homepage = "http://www.pps.univ-paris-diderot.fr/~jch/software/ahcp/";
19 description = "Autoconfiguration protocol for IPv6 and dual-stack IPv6/IPv4 networks";
20 license = lib.licenses.mit;
21 platforms = lib.platforms.linux;
22 mainProgram = "ahcpd";