2021-01-25 09:26:54 +01:00
|
|
|
{ lib, 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";
|
2021-02-25 09:19:10 +01:00
|
|
|
version = "1.8.3";
|
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}";
|
2021-02-25 09:19:10 +01:00
|
|
|
sha256 = "sha256-aE+kw854/wjFJqiRC/1gLzRpaVa6EPJPJaKqXtFM+Sw=";
|
2016-09-22 00:44:32 +02:00
|
|
|
};
|
|
|
|
|
2021-02-25 09:19:10 +01:00
|
|
|
vendorSha256 = "sha256-1+WgBsknyPcZhvQLffhlWBH1o0pYTFoOG5BviUJYxyA=";
|
2016-09-22 00:44:32 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with 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
|
|
|
}
|