2020-03-27 08:33:21 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2016-09-22 00:44:32 +02:00
|
|
|
|
2019-12-16 13:05:23 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "coredns";
|
2020-09-25 06:10:11 +02:00
|
|
|
version = "1.7.1";
|
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}";
|
2020-09-25 06:10:11 +02:00
|
|
|
sha256 = "0ggkpdlwrmyaicn61qyx4m5svmw7px0gfwl8mhhif8dfmjznfkir";
|
2016-09-22 00:44:32 +02:00
|
|
|
};
|
|
|
|
|
2020-09-25 06:10:11 +02:00
|
|
|
vendorSha256 = "0fzgqgfmyqfyap0j81ihag0319cq34k3y0a9rxkg9cg23hn1d5gf";
|
2016-09-22 00:44:32 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
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
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|