mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
mesos-dns: use finalAttrs
This commit is contained in:
parent
42eee8e4ee
commit
795db2ce06
1 changed files with 4 additions and 4 deletions
|
@ -4,14 +4,14 @@
|
|||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "mesos-dns";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "m3scluster";
|
||||
repo = "mesos-dns";
|
||||
rev = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-/zcjQ2AxZ17rAxrRmfztj5gH1pu2QswJgaCE022FieU=";
|
||||
};
|
||||
|
||||
|
@ -26,10 +26,10 @@ buildGoModule rec {
|
|||
|
||||
meta = {
|
||||
homepage = "https://m3scluster.github.io/mesos-dns/";
|
||||
changelog = "https://github.com/m3scluster/mesos-dns/releases/tag/v${version}";
|
||||
changelog = "https://github.com/m3scluster/mesos-dns/releases/tag/v${finalAttrs.version}";
|
||||
description = "DNS-based service discovery for Mesos";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||
mainProgram = "mesos-dns";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue