mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
27 lines
615 B
Nix
27 lines
615 B
Nix
{ 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 ];
|
|
|
|
postPatch = ''
|
|
chmod u+w -R ../common
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|