Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
693 B
Nix
35 lines
693 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.unix;
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|