2021-01-25 08:26:54 +00:00
|
|
|
{ lib, 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";
|
2021-01-21 17:51:38 +00:00
|
|
|
version = "1.8.1";
|
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}";
|
2021-01-21 17:51:38 +00:00
|
|
|
sha256 = "sha256-F4YiLjWrAjCNorR5dHQ2nzEBVWvJVuDDmAbUXruaPYQ=";
|
2016-09-21 23:44:32 +01:00
|
|
|
};
|
|
|
|
|
2021-01-21 17:51:38 +00:00
|
|
|
vendorSha256 = "sha256-QvT1vnvF+gvABh2SzR6vUsj3KCD8ABqZwXQUm3NldM0=";
|
2016-09-21 23:44:32 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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
|
|
|
}
|