nixpkgs-suyu/pkgs/servers/mesos-dns/default.nix

22 lines
490 B
Nix
Raw Normal View History

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2016-06-03 19:40:02 +02:00
buildGoPackage rec {
name = "mesos-dns-${version}";
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 {
2016-06-03 19:40:02 +02:00
inherit rev;
owner = "mesosphere";
repo = "mesos-dns";
2016-06-03 19:40:02 +02:00
sha256 = "0zs6lcgk43j7jp370qnii7n55cd9pa8gl56r8hy4nagfvlvrcm02";
};
goDeps = ./deps.json;
}