2019-05-30 02:12:32 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "robin-map";
|
2019-10-08 18:59:23 +02:00
|
|
|
version = "0.6.2";
|
2019-05-30 02:12:32 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tessil";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-10-08 18:59:23 +02:00
|
|
|
sha256 = "0y532zg0aaqz3fpv785n2drwpnryaclr53drpqimnbf3cs0jw997";
|
2019-05-30 02:12:32 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/Tessil/robin-map";
|
2019-05-30 02:12:32 +02:00
|
|
|
description = "C++ implementation of a fast hash map and hash set using robin hood hashing";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ goibhniu jtojnar ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|