depot/third_party/nixpkgs/pkgs/development/libraries/robin-map/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

26 lines
603 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 ];
platforms = platforms.unix;
};
}