nixpkgs/pkgs/servers/dns/coredns/default.nix

25 lines
587 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2016-09-21 22:44:32 +00:00
2019-12-16 12:05:23 +00:00
buildGoModule rec {
pname = "coredns";
2021-10-29 08:30:10 +00:00
version = "1.8.6";
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}";
2021-10-29 08:30:10 +00:00
sha256 = "sha256-0R/HqwZA/ZK9f0i01anIjwnW0JCfsbQpTBMF68CNRUI=";
2016-09-21 22:44:32 +00:00
};
2021-10-29 08:30:10 +00:00
vendorSha256 = "sha256-MiTg1GHeqNJcQSaqWXW/nW4ZdNzoLTgNlLbbn1bm7aA=";
2016-09-21 22:44:32 +00:00
doCheck = false;
meta = with 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
};
}