2019-05-30 00:12:32 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "robin-map";
|
2019-10-08 16:59:23 +00:00
|
|
|
version = "0.6.2";
|
2019-05-30 00:12:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tessil";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-10-08 16:59:23 +00:00
|
|
|
sha256 = "0y532zg0aaqz3fpv785n2drwpnryaclr53drpqimnbf3cs0jw997";
|
2019-05-30 00:12:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/Tessil/robin-map;
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|