1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/servers/mesos-dns/default.nix
Kamil Chmielewski 914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541

* update docs to describe `deps.nix`
* include goDeps in nix-shell GOPATH
* NixOS 16.09 rel notes about replacing goPackages
2016-09-16 00:04:55 +01:00

22 lines
489 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
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 {
inherit rev;
owner = "mesosphere";
repo = "mesos-dns";
sha256 = "0zs6lcgk43j7jp370qnii7n55cd9pa8gl56r8hy4nagfvlvrcm02";
};
goDeps = ./deps.nix;
}