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