2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-05-30 00:12:32 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "robin-map";
|
2022-04-09 15:55:57 +00:00
|
|
|
version = "1.0.1";
|
2019-05-30 00:12:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tessil";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-04-09 15:55:57 +00:00
|
|
|
sha256 = "sha256-4OW7PHow+O7R4t5+6iPV3E+1+6XPhqxrL1LQZitmCzQ=";
|
2019-05-30 00:12:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Tessil/robin-map";
|
2019-05-30 00:12:32 +00:00
|
|
|
description = "C++ implementation of a fast hash map and hash set using robin hood hashing";
|
|
|
|
license = licenses.mit;
|
2022-10-26 18:52:23 +00:00
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
2019-05-30 00:12:32 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|