lol
1{ lib, stdenv
2, fetchFromGitHub
3, cmake
4}:
5
6stdenv.mkDerivation rec {
7 pname = "robin-map";
8 version = "1.0.1";
9
10 src = fetchFromGitHub {
11 owner = "Tessil";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "sha256-4OW7PHow+O7R4t5+6iPV3E+1+6XPhqxrL1LQZitmCzQ=";
15 };
16
17 nativeBuildInputs = [ cmake ];
18
19 meta = with lib; {
20 homepage = "https://github.com/Tessil/robin-map";
21 description = "C++ implementation of a fast hash map and hash set using robin hood hashing";
22 license = licenses.mit;
23 maintainers = with maintainers; [ goibhniu ];
24 platforms = platforms.unix;
25 };
26}