at 17.09-beta 26 lines 630 B view raw
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libnl }: 2 3let 4 sourceAttrs = (import ./source.nix) { inherit fetchFromGitHub; }; 5in 6 7stdenv.mkDerivation { 8 name = "jool-cli-${sourceAttrs.version}"; 9 10 src = sourceAttrs.src; 11 12 sourceRoot = "Jool-v${sourceAttrs.version}-src/usr"; 13 14 buildInputs = [ autoreconfHook pkgconfig libnl ]; 15 16 postPatch = '' 17 chmod u+w -R ../common 18 ''; 19 20 meta = with stdenv.lib; { 21 homepage = https://www.jool.mx/; 22 description = "Fairly compliant SIIT and Stateful NAT64 for Linux - CLI tools"; 23 platforms = platforms.linux; 24 maintainers = with maintainers; [ fpletz ]; 25 }; 26}