2020-09-16 13:27:22 -07:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-03-24 05:46:57 -07:00
|
|
|
|
2020-09-07 12:20:00 -07:00
|
|
|
buildGoModule rec {
|
2020-03-24 03:11:15 -07:00
|
|
|
pname = "dnscontrol";
|
2021-02-20 12:12:00 -08:00
|
|
|
version = "3.7.0";
|
2020-03-24 03:11:15 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "StackExchange";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-20 12:12:00 -08:00
|
|
|
sha256 = "sha256-el94Iq7/+1FfGpqbhKEO6FGpaCxoueoc/+Se+WfT+G0=";
|
2020-03-24 03:11:15 -07:00
|
|
|
};
|
|
|
|
|
2021-02-20 12:12:00 -08:00
|
|
|
vendorSha256 = "sha256-MSHg1RWjbXm1pf6HTyJL4FcnLuacL9fO1F6zbouVkWg=";
|
2020-03-24 05:46:57 -07:00
|
|
|
|
2020-09-16 13:27:22 -07:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-02-13 23:56:15 -08:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w" ];
|
|
|
|
|
2020-09-16 13:27:22 -07:00
|
|
|
meta = with lib; {
|
2020-03-24 03:11:15 -07:00
|
|
|
description = "Synchronize your DNS to multiple providers from a simple DSL";
|
|
|
|
homepage = "https://stackexchange.github.io/dnscontrol/";
|
|
|
|
license = licenses.mit;
|
2020-09-16 13:27:38 -07:00
|
|
|
maintainers = with maintainers; [ mmahut SuperSandro2000 ];
|
2020-03-24 03:11:15 -07:00
|
|
|
};
|
|
|
|
}
|