2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2016-09-21 23:44:32 +01:00
|
|
|
|
2019-12-16 12:05:23 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "coredns";
|
2020-06-19 14:01:44 +01:00
|
|
|
version = "1.7.0";
|
2016-09-21 23:44:32 +01:00
|
|
|
|
2019-01-30 11:50:31 +00:00
|
|
|
goPackagePath = "github.com/coredns/coredns";
|
2016-09-21 23:44:32 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-01-30 11:50:31 +00:00
|
|
|
owner = "coredns";
|
2016-09-21 23:44:32 +01:00
|
|
|
repo = "coredns";
|
|
|
|
rev = "v${version}";
|
2020-06-19 14:01:44 +01:00
|
|
|
sha256 = "1wayfr26gwgdl0sfrvskb4hkxfmxfy7idbrpw3z4r05fkr2886xj";
|
2016-09-21 23:44:32 +01:00
|
|
|
};
|
|
|
|
|
2020-06-19 14:01:44 +01:00
|
|
|
vendorSha256 = "17znl3vkg73hnrfl697rw201nsd5sijgalnbkljk1b4m0a01zik1";
|
2016-09-21 23:44:32 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-12-16 12:05:23 +00:00
|
|
|
homepage = "https://coredns.io";
|
2016-09-21 23:44:32 +01: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 23:44:32 +01:00
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|