2015-06-29 11:58:07 +01:00
|
|
|
{ stdenv, fetchzip, autoreconfHook, pkgconfig, libnl }:
|
|
|
|
|
|
|
|
let
|
|
|
|
sourceAttrs = (import ./source.nix) { inherit fetchzip; };
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "jool-cli-${sourceAttrs.version}";
|
|
|
|
|
|
|
|
src = sourceAttrs.src;
|
|
|
|
|
|
|
|
sourceRoot = "Jool-${sourceAttrs.version}.zip/usr";
|
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook pkgconfig libnl ];
|
|
|
|
|
2016-10-03 16:58:38 +01:00
|
|
|
postPatch = ''
|
|
|
|
chmod u+w -R ../common
|
|
|
|
'';
|
|
|
|
|
2015-06-29 11:58:07 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://www.jool.mx/;
|
|
|
|
description = "Fairly compliant SIIT and Stateful NAT64 for Linux - CLI tools";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
};
|
|
|
|
}
|