2016-09-21 23:44:32 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "coredns-${version}";
|
2017-02-19 20:08:26 +00:00
|
|
|
version = "005";
|
2016-09-21 23:44:32 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/miekg/coredns";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "miekg";
|
|
|
|
repo = "coredns";
|
|
|
|
rev = "v${version}";
|
2018-07-11 09:54:34 +01:00
|
|
|
sha256 = "15q8l4apspaw1xbbb9j1d8s2cc5zrgycan6iq597ga9m0vyf7wiw";
|
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;
|
2017-02-19 20:08:26 +00:00
|
|
|
maintainers = [ maintainers.rushmorem maintainers.rtreffer ];
|
2016-09-21 23:44:32 +01:00
|
|
|
};
|
|
|
|
}
|