mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +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,
|
fetchFromGitHub,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "mesos-dns";
|
pname = "mesos-dns";
|
||||||
version = "0.9.3";
|
version = "0.9.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "m3scluster";
|
owner = "m3scluster";
|
||||||
repo = "mesos-dns";
|
repo = "mesos-dns";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-/zcjQ2AxZ17rAxrRmfztj5gH1pu2QswJgaCE022FieU=";
|
hash = "sha256-/zcjQ2AxZ17rAxrRmfztj5gH1pu2QswJgaCE022FieU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,10 +26,10 @@ buildGoModule rec {
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://m3scluster.github.io/mesos-dns/";
|
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";
|
description = "DNS-based service discovery for Mesos";
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
maintainers = with lib.maintainers; [ aaronjheng ];
|
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||||
mainProgram = "mesos-dns";
|
mainProgram = "mesos-dns";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue