nixpkgs-suyu/pkgs/development/libraries/robin-map/default.nix

27 lines
614 B
Nix
Raw Normal View History

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