2023-01-07 22:16:03 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-05-30 00:12:32 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "robin-map";
|
2023-01-07 17:45:44 +00:00
|
|
|
version = "1.2.1";
|
2019-05-30 00:12:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tessil";
|
|
|
|
repo = pname;
|
2023-01-07 22:16:03 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-axVMJHTnGW2c4kGcYhEEAvKbVKYA2oxiYfwjiz7xh6Q=";
|
2019-05-30 00:12:32 +00:00
|
|
|
};
|
|
|
|
|
2023-01-07 22:16:03 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
2019-05-30 00:12:32 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-05-30 00:12:32 +00:00
|
|
|
description = "C++ implementation of a fast hash map and hash set using robin hood hashing";
|
2023-01-07 22:16:03 +00:00
|
|
|
homepage = "https://github.com/Tessil/robin-map";
|
|
|
|
changelog = "https://github.com/Tessil/robin-map/releases/tag/v${version}";
|
2019-05-30 00:12:32 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|