2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2016-09-21 22:44:32 +00:00
|
|
|
|
2019-12-16 12:05:23 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "coredns";
|
2020-10-29 12:03:37 +00:00
|
|
|
version = "1.8.0";
|
2016-09-21 22:44:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-01-30 11:50:31 +00:00
|
|
|
owner = "coredns";
|
2016-09-21 22:44:32 +00:00
|
|
|
repo = "coredns";
|
|
|
|
rev = "v${version}";
|
2020-10-29 12:03:37 +00:00
|
|
|
sha256 = "04hkz70s5i7ndwyg39za3k83amvmi90rkjm8qp3w3a8fbmq4q4y6";
|
2016-09-21 22:44:32 +00:00
|
|
|
};
|
|
|
|
|
2020-10-29 12:03:37 +00:00
|
|
|
vendorSha256 = "1zwrf2pshb9r3yvp7mqali47163nqhvs9ghflczfpigqswd1m0p0";
|
2016-09-21 22:44:32 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2016-09-21 22:44:32 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-12-16 12:05:23 +00:00
|
|
|
homepage = "https://coredns.io";
|
2016-09-21 22:44:32 +00:00
|
|
|
description = "A DNS server that runs middleware";
|
|
|
|
license = licenses.asl20;
|
2019-12-16 12:05:23 +00:00
|
|
|
maintainers = with maintainers; [ rushmorem rtreffer deltaevo ];
|
2016-09-21 22:44:32 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|