mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
f089fdbc80
Update: * glslang * spirv-headers * spirv-toools * vulkan-extension-layer * vulkan-headers * vulkan-loader * vulkan-tools * vulkan-tools-lunarg * vulkan-validation-layers Fixes #161060
34 lines
699 B
Nix
34 lines
699 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "robin-hood-hashing";
|
|
version = "3.11.5"; # pin
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "martinus";
|
|
repo = "robin-hood-hashing";
|
|
rev = version; # pin
|
|
sha256 = "sha256-J4u9Q6cXF0SLHbomP42AAn5LSKBYeVgTooOhqxOIpuM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DRH_STANDALONE_PROJECT=OFF"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A faster, more efficient replacement for std::unordered_map / std::unordered_set";
|
|
homepage = "https://github.com/martinus/robin-hood-hashing";
|
|
platforms = platforms.linux;
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|