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

24 lines
627 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2016-09-21 23:44:32 +01:00
2019-12-16 12:05:23 +00:00
buildGoModule rec {
pname = "coredns";
2020-04-01 11:17:44 +01:00
version = "1.6.9";
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-04-01 11:17:44 +01:00
sha256 = "18c02ss0sxxg8lkhdmyaac2x5alfxsizf6jqhck8bqkf6hiyv5hc";
2016-09-21 23:44:32 +01:00
};
vendorSha256 = "0ykhqsz4a7bkkxcg7w23jl3qs36law1f8l1b5r3i26qlamibqxl7";
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
};
}