mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
697 B
Nix
34 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 = [ ];
|
|
};
|
|
}
|