2016-09-22 00:44:32 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "coredns-${version}";
|
2019-01-30 12:50:31 +01:00
|
|
|
version = "1.3.1";
|
2016-09-22 00:44:32 +02:00
|
|
|
|
2019-01-30 12:50:31 +01:00
|
|
|
goPackagePath = "github.com/coredns/coredns";
|
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}";
|
2019-01-30 12:50:31 +01:00
|
|
|
sha256 = "0aflm0c3qcjcq4dy7yx9f5xlvdm4k0b2awsp3qvbfgyp74by0584";
|
2016-09-22 00:44:32 +02: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 16:31:30 +01:00
|
|
|
maintainers = [ maintainers.rushmorem maintainers.rtreffer maintainers.deltaevo ];
|
2016-09-22 00:44:32 +02:00
|
|
|
};
|
|
|
|
}
|