3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/dnscontrol/default.nix

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

27 lines
672 B
Nix
Raw Normal View History

{ 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";
2022-02-07 00:42:42 +00:00
version = "3.14.0";
2020-03-24 10:11:15 +00:00
src = fetchFromGitHub {
owner = "StackExchange";
repo = pname;
rev = "v${version}";
2022-02-07 00:42:42 +00:00
sha256 = "sha256-4az63Ff4aUAFMZoQeHshS9TxA/BIyHFZ/svFgAsU6WU=";
2020-03-24 10:11:15 +00:00
};
2022-02-07 00:42:42 +00:00
vendorSha256 = "sha256-KbM2bKYnllxTw4B9W5E8iLZKvN/DJqBmWkXXLhEtsSQ=";
2020-03-24 12:46:57 +00:00
subPackages = [ "." ];
2021-08-26 07:45:51 +01:00
ldflags = [ "-s" "-w" ];
2021-02-14 07:56:15 +00:00
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;
maintainers = with maintainers; [ mmahut SuperSandro2000 ];
2020-03-24 10:11:15 +00:00
};
}