Merge pull request #190054 from Majiir/gen6dns

gen6dns: init at 1.3
This commit is contained in:
Mario Rodas 2022-09-08 20:03:51 -05:00 committed by GitHub
commit a3ec78e8d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, stdenv, fetchurl, installShellFiles }:
stdenv.mkDerivation rec {
pname = "gen6dns";
version = "1.3";
src = fetchurl {
url = "https://www.hznet.de/tools/gen6dns-${version}.tar.gz";
hash = "sha256-MhYfgzbGPmrhPx89EpObrEkxaII7uz4TbWXeEGF7Xws=";
};
nativeBuildInputs = [ installShellFiles ];
preInstall = ''
mkdir -p $out/bin
'';
postInstall = ''
installManPage gen6dns.1
'';
makeFlags = [ "INSTALL_DIR=$(out)/bin" ];
meta = with lib; {
description = "Tool to generate static DNS records (AAAA and PTR) for hosts using Stateless Address Autoconfig (SLAAC)";
homepage = "https://www.hznet.de/tools.html#gen6dns";
license = licenses.bsd3;
maintainers = with maintainers; [ majiir ];
platforms = platforms.unix;
};
}

View file

@ -1269,6 +1269,8 @@ with pkgs;
gam = callPackage ../tools/admin/gam { };
gen6dns = callPackage ../tools/networking/gen6dns { };
gfshare = callPackage ../tools/security/gfshare { };
gh-cal = callPackage ../tools/misc/gh-cal {