From f85087fdcbffb16e013a8a7b47033dedfa3ab44d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 7 Jan 2023 17:45:44 +0000 Subject: [PATCH 1/2] robin-map: 1.0.1 -> 1.2.1 --- pkgs/development/libraries/robin-map/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/robin-map/default.nix b/pkgs/development/libraries/robin-map/default.nix index c0d2e73f94e6..170c660d3ec5 100644 --- a/pkgs/development/libraries/robin-map/default.nix +++ b/pkgs/development/libraries/robin-map/default.nix @@ -5,13 +5,13 @@ stdenv.mkDerivation rec { pname = "robin-map"; - version = "1.0.1"; + version = "1.2.1"; src = fetchFromGitHub { owner = "Tessil"; repo = pname; rev = "v${version}"; - sha256 = "sha256-4OW7PHow+O7R4t5+6iPV3E+1+6XPhqxrL1LQZitmCzQ="; + sha256 = "sha256-axVMJHTnGW2c4kGcYhEEAvKbVKYA2oxiYfwjiz7xh6Q="; }; nativeBuildInputs = [ cmake ]; From 2f9b6bef94f6834438b18d8158be8b439b8aeaa1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 7 Jan 2023 23:16:03 +0100 Subject: [PATCH 2/2] robin-map: add changelog to meta --- pkgs/development/libraries/robin-map/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/robin-map/default.nix b/pkgs/development/libraries/robin-map/default.nix index 170c660d3ec5..b4c865dbd11b 100644 --- a/pkgs/development/libraries/robin-map/default.nix +++ b/pkgs/development/libraries/robin-map/default.nix @@ -1,4 +1,5 @@ -{ lib, stdenv +{ lib +, stdenv , fetchFromGitHub , cmake }: @@ -10,15 +11,18 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "Tessil"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-axVMJHTnGW2c4kGcYhEEAvKbVKYA2oxiYfwjiz7xh6Q="; + rev = "refs/tags/v${version}"; + hash = "sha256-axVMJHTnGW2c4kGcYhEEAvKbVKYA2oxiYfwjiz7xh6Q="; }; - nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ + cmake + ]; meta = with lib; { - homepage = "https://github.com/Tessil/robin-map"; description = "C++ implementation of a fast hash map and hash set using robin hood hashing"; + homepage = "https://github.com/Tessil/robin-map"; + changelog = "https://github.com/Tessil/robin-map/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ goibhniu ]; platforms = platforms.unix;