410b979fe2
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
29 lines
749 B
Nix
29 lines
749 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dnscontrol";
|
|
version = "3.28.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "StackExchange";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-LIW5z8xb7o9oah6P3GvhzXTPRoBNuxYfZlGq4l0KS8M=";
|
|
};
|
|
|
|
vendorHash = "sha256-fd3pf23Cw85RVYDrI9LYQIF0d3+o5VG+qqcN1c/xhuY=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
preCheck = ''
|
|
# requires network
|
|
rm pkg/spflib/flatten_test.go pkg/spflib/parse_test.go
|
|
'';
|
|
|
|
meta = with 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 SuperSandro2000 ];
|
|
};
|
|
}
|