mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Merge pull request #83273 from mmahut/dnscontrol
dnscontrol: init at 3.0.0
This commit is contained in:
commit
8b018a3fd4
28
pkgs/applications/networking/dnscontrol/default.nix
Normal file
28
pkgs/applications/networking/dnscontrol/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub, buildGoPackage}:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "dnscontrol";
|
||||
version = "3.0.0";
|
||||
|
||||
goPackagePath = "github.com/StackExchange/dnscontrol";
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StackExchange";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1j8i4k7bqkqmi6dmc9fxfab49a7qigig72rlbga902lw336p6cc7";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
rm $bin/bin/{build,convertzone,generate,validate}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Synchronize your DNS to multiple providers from a simple DSL";
|
||||
homepage = "https://stackexchange.github.io/dnscontrol/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mmahut ];
|
||||
};
|
||||
}
|
1236
pkgs/applications/networking/dnscontrol/deps.nix
generated
Normal file
1236
pkgs/applications/networking/dnscontrol/deps.nix
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -2839,6 +2839,8 @@ in
|
|||
|
||||
dnscrypt-wrapper = callPackage ../tools/networking/dnscrypt-wrapper { };
|
||||
|
||||
dnscontrol = callPackage ../applications/networking/dnscontrol { };
|
||||
|
||||
dnsenum = callPackage ../tools/security/dnsenum { };
|
||||
|
||||
dnsmasq = callPackage ../tools/networking/dnsmasq { };
|
||||
|
|
Loading…
Reference in a new issue