c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
24 lines
668 B
Nix
24 lines
668 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ahcpd";
|
|
version = "0.53";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/ahcpd-${version}.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 = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "ahcpd";
|
|
};
|
|
}
|