3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/dns/coredns/default.nix

25 lines
596 B
Nix
Raw Normal View History

2016-09-21 23:44:32 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "coredns";
2019-01-30 11:50:31 +00:00
version = "1.3.1";
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}";
2019-01-30 11:50:31 +00:00
sha256 = "0aflm0c3qcjcq4dy7yx9f5xlvdm4k0b2awsp3qvbfgyp74by0584";
2016-09-21 23:44:32 +01:00
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = https://coredns.io;
description = "A DNS server that runs middleware";
license = licenses.asl20;
2019-02-03 15:31:30 +00:00
maintainers = [ maintainers.rushmorem maintainers.rtreffer maintainers.deltaevo ];
2016-09-21 23:44:32 +01:00
};
}