rune: fix build on darwin
[NixPkgs.git] / pkgs / development / tools / vulkan-validation-layers / robin-hood-hashing.nix
blobcd08f0231ab206e8e5d7e177fdc1337b5d37a561
1 { stdenv
2 , lib
3 , fetchFromGitHub
4 , cmake
5 }:
7 stdenv.mkDerivation rec {
8   pname = "robin-hood-hashing";
9   version = "3.11.5"; # pin
11   src = fetchFromGitHub {
12     owner = "martinus";
13     repo = "robin-hood-hashing";
14     rev = version; # pin
15     sha256 = "sha256-J4u9Q6cXF0SLHbomP42AAn5LSKBYeVgTooOhqxOIpuM=";
16   };
18   nativeBuildInputs = [
19     cmake
20   ];
22   cmakeFlags = [
23     "-DRH_STANDALONE_PROJECT=OFF"
24   ];
26   meta = with lib; {
27     description = "A faster, more efficient replacement for std::unordered_map / std::unordered_set";
28     homepage    = "https://github.com/martinus/robin-hood-hashing";
29     platforms   = platforms.linux;
30     license     = licenses.mit;
31     maintainers = [ ];
32   };