commit
a3ec78e8d6
31
pkgs/tools/networking/gen6dns/default.nix
Normal file
31
pkgs/tools/networking/gen6dns/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user