2020-09-16 22:27:22 +02:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-03-24 13:46:57 +01:00
|
|
|
|
2020-09-07 21:20:00 +02:00
|
|
|
buildGoModule rec {
|
2020-03-24 11:11:15 +01:00
|
|
|
pname = "dnscontrol";
|
2021-12-18 10:00:49 +01:00
|
|
|
version = "3.13.1";
|
2020-03-24 11:11:15 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "StackExchange";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-18 10:00:49 +01:00
|
|
|
sha256 = "sha256-S3/uxtrCFU9HbNhYKqOYy1ytSVi2DU/lXIlhBgNnaPg=";
|
2020-03-24 11:11:15 +01:00
|
|
|
};
|
|
|
|
|
2021-12-18 10:00:49 +01:00
|
|
|
vendorSha256 = "sha256-OwiZL+MBmAFtV8Vg2Wl9yAeTG3AzMSmCjefxObU7lfQ=";
|
2020-03-24 13:46:57 +01:00
|
|
|
|
2020-09-16 22:27:22 +02:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-08-26 08:45:51 +02:00
|
|
|
ldflags = [ "-s" "-w" ];
|
2021-02-14 08:56:15 +01:00
|
|
|
|
2020-09-16 22:27:22 +02:00
|
|
|
meta = with lib; {
|
2020-03-24 11:11:15 +01:00
|
|
|
description = "Synchronize your DNS to multiple providers from a simple DSL";
|
|
|
|
homepage = "https://stackexchange.github.io/dnscontrol/";
|
|
|
|
license = licenses.mit;
|
2020-09-16 22:27:38 +02:00
|
|
|
maintainers = with maintainers; [ mmahut SuperSandro2000 ];
|
2020-03-24 11:11:15 +01:00
|
|
|
};
|
|
|
|
}
|