2024-03-29 03:58:18 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-06-03 17:40:02 +00:00
|
|
|
|
2024-03-29 03:58:18 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mesos-dns";
|
2024-03-29 03:58:18 +00:00
|
|
|
version = "0.9.0";
|
2016-06-03 17:40:02 +00:00
|
|
|
|
2016-06-06 10:26:56 +00:00
|
|
|
src = fetchFromGitHub {
|
2024-03-29 03:58:18 +00:00
|
|
|
owner = "m3scluster";
|
2016-06-06 10:26:56 +00:00
|
|
|
repo = "mesos-dns";
|
2024-03-29 03:58:18 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-lURD0WAHC4klRdV6/YhKNtXh03zcVuDzTj/LvKYomLk=";
|
2016-06-03 17:40:02 +00:00
|
|
|
};
|
|
|
|
|
2024-03-29 03:58:18 +00:00
|
|
|
vendorHash = "sha256-OILARWv9CDQEzzn7He/P8Z2Ug7m05AqOndoeM1sUpII=";
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
2016-06-03 17:40:02 +00:00
|
|
|
}
|