nixpkgs/pkgs/servers/dns/coredns/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
596 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "coredns";
version = "1.3.1";
goPackagePath = "github.com/coredns/coredns";
src = fetchFromGitHub {
owner = "coredns";
repo = "coredns";
rev = "v${version}";
sha256 = "0aflm0c3qcjcq4dy7yx9f5xlvdm4k0b2awsp3qvbfgyp74by0584";
};
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 maintainers.deltaevo ];
};
}