@@ -0,0 +1,22 @@
1+{ stdenv, fetchzip, autoreconfHook, pkgconfig, libnl }:
2+
3+let
4+ sourceAttrs = (import ./source.nix) { inherit fetchzip; };
5+in
6+
7+stdenv.mkDerivation {
8+ name = "jool-cli-${sourceAttrs.version}";
9+
10+ src = sourceAttrs.src;
11+
12+ sourceRoot = "Jool-${sourceAttrs.version}.zip/usr";
13+
14+ buildInputs = [ autoreconfHook pkgconfig libnl ];
15+
16+ meta = with stdenv.lib; {
17+ homepage = https://www.jool.mx/;
18+ description = "Fairly compliant SIIT and Stateful NAT64 for Linux - CLI tools";
19+ platforms = platforms.linux;
20+ maintainers = with maintainers; [ fpletz ];
21+ };
22+}