Commit 795db2ce authored by Aaron Jheng's avatar Aaron Jheng Committed by Masum Reza
Browse files

mesos-dns: use finalAttrs

parent 42eee8e4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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";
  };
}
})