mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
dnscontrol: use subPackages, upstream vendor
This commit is contained in:
parent
5e6adf78e9
commit
131506ddd3
|
@ -6,8 +6,6 @@ buildGoPackage rec {
|
|||
|
||||
goPackagePath = "github.com/StackExchange/dnscontrol";
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StackExchange";
|
||||
repo = pname;
|
||||
|
@ -15,9 +13,7 @@ buildGoPackage rec {
|
|||
sha256 = "1j8i4k7bqkqmi6dmc9fxfab49a7qigig72rlbga902lw336p6cc7";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
rm $bin/bin/{build,convertzone,generate,validate}
|
||||
'';
|
||||
subPackages = [ "." ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Synchronize your DNS to multiple providers from a simple DSL";
|
||||
|
|
1236
pkgs/applications/networking/dnscontrol/deps.nix
generated
1236
pkgs/applications/networking/dnscontrol/deps.nix
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue