3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/aiccu/default.nix

44 lines
1.4 KiB
Nix
Raw Normal View History

2014-09-09 10:04:53 +01:00
{ stdenv, fetchurl, gnutls, iproute, makeWrapper }:
stdenv.mkDerivation rec {
name = "aiccu-${version}";
version = "20070115";
src = fetchurl {
url = "https://www.sixxs.net/archive/sixxs/aiccu/unix/aiccu_20070115.tar.gz";
sha256 = "2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760";
};
buildInputs = [ gnutls iproute makeWrapper ];
2015-07-21 09:47:28 +01:00
patches = [
(fetchurl {
url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk/gnutls-3.4.0.patch?h=packages/aiccu&id=cc6decc4e734420e4c5d0cd28652077f6bd88d84";
sha256 = "1ni3lhwy3r54js124p7fhm1my82a703chvh07vrhslb4v4b71g5s";
name = "gnutls-3.4.0.patch";
})
];
2014-09-09 10:04:53 +01:00
configureFlags = "--prefix=$out";
installPhase = ''
install -D -m 755 unix-console/aiccu $out/bin/aiccu
install -D -m 644 doc/aiccu.sgml $out/doc/aiccu.sgml
install -D -m 644 doc/aiccu.1 $out/share/man/man1/aiccu.1
wrapProgram "$out/bin/aiccu" \
--prefix PATH : "${iproute}/bin"
'';
meta = with stdenv.lib; {
description = "Automatic IPv6 Connectivity Configuration Utility";
homepage = "https://www.sixxs.net/tools/aiccu/";
longDescription = ''
A TIC+ heartbeart client for the public dynamic-IPv4 IPv6 tunnel beta test from the SixXS tunnel service provider.
'';
maintainers = with maintainers; [ edwtjo ];
license = "SixXS";
platforms = with platforms; linux;
2014-09-09 10:04:53 +01:00
};
}