From 4a40504be4cabec3d2cfba32870a50af2f7b6e21 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 30 May 2019 02:12:32 +0200 Subject: [PATCH] robin-map: init at 0.6.1 --- .../libraries/robin-map/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/libraries/robin-map/default.nix diff --git a/pkgs/development/libraries/robin-map/default.nix b/pkgs/development/libraries/robin-map/default.nix new file mode 100644 index 000000000000..87c855251e0f --- /dev/null +++ b/pkgs/development/libraries/robin-map/default.nix @@ -0,0 +1,26 @@ +{ stdenv +, fetchFromGitHub +, cmake +}: + +stdenv.mkDerivation rec { + pname = "robin-map"; + version = "0.6.1"; + + src = fetchFromGitHub { + owner = "Tessil"; + repo = pname; + rev = "v${version}"; + sha256 = "0blvvbr14f0drbd6dp0cs8x4ng3ppb5i72dmhk43ylg6yjgh4fhq"; + }; + + nativeBuildInputs = [ cmake ]; + + meta = with stdenv.lib; { + homepage = https://github.com/Tessil/robin-map; + description = "C++ implementation of a fast hash map and hash set using robin hood hashing"; + license = licenses.mit; + maintainers = with maintainers; [ goibhniu jtojnar ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 858b634681ce..4a8e7ea13b54 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23525,6 +23525,8 @@ in redis-desktop-manager = libsForQt5.callPackage ../applications/misc/redis-desktop-manager { }; + robin-map = callPackage ../development/libraries/robin-map { }; + robo3t = callPackage ../applications/misc/robo3t { }; rucksack = callPackage ../development/tools/rucksack { };