nixpkgs-suyu/pkgs/servers/dns/coredns/default.nix

25 lines
625 B
Nix
Raw Normal View History

2019-12-16 13:05:23 +01:00
{ stdenv, buildGoModule, fetchFromGitHub }:
2016-09-22 00:44:32 +02:00
2019-12-16 13:05:23 +01:00
buildGoModule rec {
pname = "coredns";
2019-12-16 13:05:23 +01:00
version = "1.6.6";
2016-09-22 00:44:32 +02:00
2019-01-30 12:50:31 +01:00
goPackagePath = "github.com/coredns/coredns";
2016-09-22 00:44:32 +02:00
src = fetchFromGitHub {
2019-01-30 12:50:31 +01:00
owner = "coredns";
2016-09-22 00:44:32 +02:00
repo = "coredns";
rev = "v${version}";
2019-12-16 13:05:23 +01:00
sha256 = "1x8sgchp0kkk5xdharjrq29qxgv1mdzrw3f12s2kchgqf1m6r0sx";
2016-09-22 00:44:32 +02:00
};
2019-12-16 13:05:23 +01:00
modSha256 = "10ljggg1g5x00gpgzc5m29n1k5akf0s0g3hkdh8adcbrcz0pgr5c";
2016-09-22 00:44:32 +02:00
meta = with stdenv.lib; {
2019-12-16 13:05:23 +01:00
homepage = "https://coredns.io";
2016-09-22 00:44:32 +02:00
description = "A DNS server that runs middleware";
license = licenses.asl20;
2019-12-16 13:05:23 +01:00
maintainers = with maintainers; [ rushmorem rtreffer deltaevo ];
2016-09-22 00:44:32 +02:00
};
}