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

25 lines
645 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";
2020-12-08 17:58:33 +00:00
version = "3.5.0";
2020-03-24 10:11:15 +00:00
src = fetchFromGitHub {
owner = "StackExchange";
repo = pname;
rev = "v${version}";
2020-12-08 17:58:33 +00:00
sha256 = "0bnsd1kx0ji2s3w1v7sskc3x82avaqjn2arnax55bmh1yjma6z8p";
2020-03-24 10:11:15 +00:00
};
2020-12-08 17:58:33 +00:00
vendorSha256 = "0ppcrp6jp23ycn70mcgi5bsa0hr20hk7044ldw304krawy2vjgz8";
2020-03-24 12:46:57 +00:00
subPackages = [ "." ];
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
};
}