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

25 lines
645 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";
2020-09-07 21:20:00 +02:00
version = "3.3.0";
2020-03-24 11:11:15 +01:00
src = fetchFromGitHub {
owner = "StackExchange";
repo = pname;
rev = "v${version}";
2020-09-07 21:20:00 +02:00
sha256 = "0lldkx906imwm8mxcfafpanbgaqh0sdm3zdkwkn7j0nmngyncx9p";
2020-03-24 11:11:15 +01:00
};
2020-09-07 21:20:00 +02:00
vendorSha256 = "16cc6hb2iwh1zwrrnb7s4dqxqhaj67gq3gfr5xvh5kqafd685hvx";
2020-03-24 13:46:57 +01:00
subPackages = [ "." ];
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
};
}