2020-03-24 10:11:15 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoPackage}:
|
2020-03-24 12:46:57 +00:00
|
|
|
|
2020-03-24 10:11:15 +00:00
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "dnscontrol";
|
2020-06-14 14:26:24 +01:00
|
|
|
version = "3.2.0";
|
2020-03-24 10:11:15 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/StackExchange/dnscontrol";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "StackExchange";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-06-14 14:26:24 +01:00
|
|
|
sha256 = "1lrn1whmx9zkyvs505zxrsmnr5s6kpj3kjkr6rblfwdlnadkgfj7";
|
2020-03-24 10:11:15 +00:00
|
|
|
};
|
|
|
|
|
2020-04-24 04:03:04 +01:00
|
|
|
subPackages = [ "." ];
|
2020-03-24 12:46:57 +00:00
|
|
|
|
2020-03-24 10:11:15 +00:00
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|