nixpkgs-suyu/pkgs/applications/networking/dnscontrol/default.nix

27 lines
686 B
Nix
Raw Normal View History

{ 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-04-23 05:38:39 +02:00
version = "3.8.1";
2020-03-24 11:11:15 +01:00
src = fetchFromGitHub {
owner = "StackExchange";
repo = pname;
rev = "v${version}";
2021-04-23 05:38:39 +02:00
sha256 = "sha256-x002p7wPKbcmr4uE04mgKBagHQV/maEo99Y2Jr7xgK4=";
2020-03-24 11:11:15 +01:00
};
2021-04-23 05:38:39 +02:00
vendorSha256 = "sha256-lR5+xVi/ROOFoRWyK0h/8uiSP/joQ9Zr9kMaQ+sWNhM=";
2020-03-24 13:46:57 +01:00
subPackages = [ "." ];
2021-02-14 08:56:15 +01:00
buildFlagsArray = [ "-ldflags=-s -w" ];
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;
maintainers = with maintainers; [ mmahut SuperSandro2000 ];
2020-03-24 11:11:15 +01:00
};
}