bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
33 lines
697 B
Nix
33 lines
697 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 = "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 = [ ];
|
|
};
|
|
}
|