mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
25 lines
604 B
Nix
25 lines
604 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "coredns-${version}";
|
|
version = "005";
|
|
|
|
goPackagePath = "github.com/miekg/coredns";
|
|
subPackages = [ "." ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "miekg";
|
|
repo = "coredns";
|
|
rev = "v${version}";
|
|
sha256 = "11wvy3xp9in5ny6h7hp24dq6asc013vrwc6bqiky83dlzasjwkf6";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://coredns.io;
|
|
description = "A DNS server that runs middleware";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.rushmorem maintainers.rtreffer ];
|
|
};
|
|
}
|