forked from mirrors/nixpkgs
dec05e9b28
Notable upstream changes: - Support for multiple ports per task - Records generated for mesos master nodes - SRV records resolve to hostnames rather than IPs - Query handling is now properly case-insensitive - Better AAAA record handling
32 lines
814 B
Nix
32 lines
814 B
Nix
{ lib, goPackages, fetchFromGitHub }:
|
|
|
|
with goPackages;
|
|
|
|
buildGoPackage rec {
|
|
name = "mesos-dns-${version}";
|
|
version = "0.1";
|
|
|
|
goPackagePath = "github.com/mesosphere/mesos-dns";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mesosphere";
|
|
repo = "mesos-dns";
|
|
rev = "f37051fc5a723eb021797e7d57d92755c011a28e";
|
|
sha256 = "0djzd4zdpr4dcp56rqprncan6pcff6gy4wxi9572fmni2ldj4l15";
|
|
};
|
|
|
|
# Avoid including the benchmarking test helper in the output:
|
|
subPackages = [ "." ];
|
|
|
|
buildInputs = with goPackages; [ go dns ];
|
|
dontInstallSrc = true;
|
|
|
|
meta = with lib; {
|
|
description = "DNS-based service discovery for Mesos clusters";
|
|
homepage = https://github.com/mesosphere/mesos-dns;
|
|
license = licenses.apsl20;
|
|
maintainers = with maintainers; [ benley ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|