From 0b0df14f76c07e2852f1d8f831203e9671691fb2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 May 2023 19:12:17 +0200 Subject: [PATCH] mqttui: add changelog to meta --- pkgs/tools/networking/mqttui/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/mqttui/default.nix b/pkgs/tools/networking/mqttui/default.nix index 830a23c0f732..b090b19ba8fa 100644 --- a/pkgs/tools/networking/mqttui/default.nix +++ b/pkgs/tools/networking/mqttui/default.nix @@ -12,17 +12,18 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "EdJoPaTo"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-cezG9hdHOeTExX4OJwJ22e/PvfdySPzQGwxumavV++Q="; + rev = "refs/tags/v${version}"; + hash = "sha256-cezG9hdHOeTExX4OJwJ22e/PvfdySPzQGwxumavV++Q="; }; - cargoSha256 = "sha256-vSlziZtjyzsd346qUBEPEl8I3UlPhWHRu4+FiD1XqOo="; + cargoHash = "sha256-vSlziZtjyzsd346qUBEPEl8I3UlPhWHRu4+FiD1XqOo="; buildInputs = lib.optional stdenv.isDarwin Security; meta = with lib; { description = "Terminal client for MQTT"; homepage = "https://github.com/EdJoPaTo/mqttui"; + changelog = "https://github.com/EdJoPaTo/mqttui/blob/v${version}/CHANGELOG.md"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; };