2020-09-16 21:27:22 +01:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-03-24 12:46:57 +00:00
|
|
|
|
2020-09-07 20:20:00 +01:00
|
|
|
buildGoModule rec {
|
2020-03-24 10:11:15 +00:00
|
|
|
pname = "dnscontrol";
|
2021-02-04 06:14:08 +00:00
|
|
|
version = "3.6.0";
|
2020-03-24 10:11:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "StackExchange";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-04 06:14:08 +00:00
|
|
|
sha256 = "sha256-I1PaDHPocQuoSOyfnxDWwIR+7S9l/odX4SCeAae/jv8=";
|
2020-03-24 10:11:15 +00:00
|
|
|
};
|
|
|
|
|
2021-02-04 06:14:08 +00:00
|
|
|
vendorSha256 = "sha256-H0i5MoVX5O0CgHOvefDEyzBWvBZvJZUrC9xBq9CHgeE=";
|
2020-03-24 12:46:57 +00:00
|
|
|
|
2020-09-16 21:27:22 +01:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-03-24 10:11:15 +00:00
|
|
|
description = "Synchronize your DNS to multiple providers from a simple DSL";
|
|
|
|
homepage = "https://stackexchange.github.io/dnscontrol/";
|
|
|
|
license = licenses.mit;
|
2020-09-16 21:27:38 +01:00
|
|
|
maintainers = with maintainers; [ mmahut SuperSandro2000 ];
|
2020-03-24 10:11:15 +00:00
|
|
|
};
|
|
|
|
}
|