nixpkgs/pkgs/development/libraries/robin-map/default.nix
2022-04-10 03:50:55 +02:00

26 lines
611 B
Nix

{ lib, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "robin-map";
version = "1.0.1";
src = fetchFromGitHub {
owner = "Tessil";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4OW7PHow+O7R4t5+6iPV3E+1+6XPhqxrL1LQZitmCzQ=";
};
nativeBuildInputs = [ cmake ];
meta = with 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;
};
}