at 23.11-beta 30 lines 698 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5}: 6 7stdenv.mkDerivation rec { 8 pname = "robin-map"; 9 version = "1.2.1"; 10 11 src = fetchFromGitHub { 12 owner = "Tessil"; 13 repo = pname; 14 rev = "refs/tags/v${version}"; 15 hash = "sha256-axVMJHTnGW2c4kGcYhEEAvKbVKYA2oxiYfwjiz7xh6Q="; 16 }; 17 18 nativeBuildInputs = [ 19 cmake 20 ]; 21 22 meta = with lib; { 23 description = "C++ implementation of a fast hash map and hash set using robin hood hashing"; 24 homepage = "https://github.com/Tessil/robin-map"; 25 changelog = "https://github.com/Tessil/robin-map/releases/tag/v${version}"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ goibhniu ]; 28 platforms = platforms.unix; 29 }; 30}