nixpkgs/pkgs/applications/networking/dnscontrol/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
749 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2020-03-24 15:46:57 +03:00
2020-09-07 22:20:00 +03:00
buildGoModule rec {
2020-03-24 13:11:15 +03:00
pname = "dnscontrol";
version = "3.31.1";
2020-03-24 13:11:15 +03:00
src = fetchFromGitHub {
owner = "StackExchange";
repo = pname;
rev = "v${version}";
sha256 = "sha256-T8fErChbQbarvE3/Zds1482m1hfD9Qa3esYvqjzNN3c=";
2020-03-24 13:11:15 +03:00
};
vendorHash = "sha256-BE/UnJw5elHYmyB+quN89ZkrlMcTjaVN0T2+h8cpPS8=";
2021-08-26 09:45:51 +03:00
ldflags = [ "-s" "-w" ];
2021-02-14 10:56:15 +03:00
2022-06-20 18:06:40 +03:00
preCheck = ''
# requires network
rm pkg/spflib/flatten_test.go pkg/spflib/parse_test.go
'';
meta = with lib; {
2020-03-24 13:11:15 +03:00
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 ];
2020-03-24 13:11:15 +03:00
};
}