mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
29 lines
747 B
Nix
29 lines
747 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mesos-dns";
|
|
version = "0.9.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "m3scluster";
|
|
repo = "mesos-dns";
|
|
rev = "v${version}";
|
|
hash = "sha256-6uuaSCPBY+mKfU2Xku9M1oF5jwxogR2Rki4AIdsjLr0=";
|
|
};
|
|
|
|
vendorHash = "sha256-k47kxdkwhf9b8DdvWzwhj12ebvPYezxyIJ8w1Zn+Xew=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://m3scluster.github.io/mesos-dns/";
|
|
changelog = "https://github.com/m3scluster/mesos-dns/releases/tag/v${version}";
|
|
description = "DNS-based service discovery for Mesos";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ aaronjheng ];
|
|
mainProgram = "mesos-dns";
|
|
};
|
|
}
|