nixpkgs/pkgs/servers/mesos-dns/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

22 lines
466 B
Nix

{ buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "mesos-dns";
version = "0.1.2";
rev = "v${version}";
goPackagePath = "github.com/mesosphere/mesos-dns";
# Avoid including the benchmarking test helper in the output:
subPackages = [ "." ];
src = fetchFromGitHub {
inherit rev;
owner = "mesosphere";
repo = "mesos-dns";
sha256 = "0zs6lcgk43j7jp370qnii7n55cd9pa8gl56r8hy4nagfvlvrcm02";
};
goDeps = ./deps.nix;
}