1 { lib, stdenv, fetchurl, installShellFiles }:
3 stdenv.mkDerivation rec {
8 url = "https://www.hznet.de/tools/gen6dns-${version}.tar.gz";
9 hash = "sha256-MhYfgzbGPmrhPx89EpObrEkxaII7uz4TbWXeEGF7Xws=";
12 nativeBuildInputs = [ installShellFiles ];
19 installManPage gen6dns.1
22 configureFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
23 "ac_cv_func_malloc_0_nonnull=yes"
26 makeFlags = [ "INSTALL_DIR=$(out)/bin" ];
29 description = "Tool to generate static DNS records (AAAA and PTR) for hosts using Stateless Address Autoconfig (SLAAC)";
30 homepage = "https://www.hznet.de/tools.html#gen6dns";
31 license = licenses.bsd3;
32 maintainers = with maintainers; [ majiir ];
33 platforms = platforms.unix;