From 7e98c597a1bbeb76da4267f2ddee0aa9475b1f9d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 6 Jan 2023 08:28:31 +0000 Subject: [PATCH 1/2] hotspot: 1.4.0 -> 1.4.1 --- pkgs/development/tools/analysis/hotspot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/hotspot/default.nix b/pkgs/development/tools/analysis/hotspot/default.nix index 449d5b6b5ed..82d8cd58933 100644 --- a/pkgs/development/tools/analysis/hotspot/default.nix +++ b/pkgs/development/tools/analysis/hotspot/default.nix @@ -22,13 +22,13 @@ mkDerivation rec { pname = "hotspot"; - version = "1.4.0"; + version = "1.4.1"; src = fetchFromGitHub { owner = "KDAB"; repo = "hotspot"; rev = "v${version}"; - hash = "sha256-7GuIe8F3QqosW/XaN3KC1WeWcI7woUiEc9Nw0b+fSk0="; + hash = "sha256-DW4R7+rnonmEMbCkNS7TGodw+3mEyHl6OlFK3kbG5HM="; fetchSubmodules = true; }; From 4068197a9df2f46570cd4bb964beadc963dfa544 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 6 Jan 2023 23:32:25 +0100 Subject: [PATCH 2/2] hotspot: add changelog to meta --- pkgs/development/tools/analysis/hotspot/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/analysis/hotspot/default.nix b/pkgs/development/tools/analysis/hotspot/default.nix index 82d8cd58933..5c0a96e5d8e 100644 --- a/pkgs/development/tools/analysis/hotspot/default.nix +++ b/pkgs/development/tools/analysis/hotspot/default.nix @@ -27,7 +27,7 @@ mkDerivation rec { src = fetchFromGitHub { owner = "KDAB"; repo = "hotspot"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-DW4R7+rnonmEMbCkNS7TGodw+3mEyHl6OlFK3kbG5HM="; fetchSubmodules = true; }; @@ -62,7 +62,7 @@ mkDerivation rec { mkdir -p 3rdparty/{perfparser,PrefixTickLabels}/.git ''; - meta = { + meta = with lib; { description = "A GUI for Linux perf"; longDescription = '' hotspot is a GUI replacement for `perf report`. @@ -70,8 +70,9 @@ mkDerivation rec { then displays the result in a graphical way. ''; homepage = "https://github.com/KDAB/hotspot"; - license = with lib.licenses; [ gpl2Only gpl3Only ]; - platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [ nh2 ]; + changelog = "https://github.com/KDAB/hotspot/releases/tag/v${version}"; + license = with licenses; [ gpl2Only gpl3Only ]; + platforms = platforms.linux; + maintainers = with maintainers; [ nh2 ]; }; }