mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
23 lines
498 B
Nix
23 lines
498 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;
|
|
meta.mainProgram = "mesos-dns";
|
|
}
|