Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / robin-map / default.nix
blobb4c865dbd11b34c231ca59d72315eaf9b1908400
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cmake
5 }:
7 stdenv.mkDerivation rec {
8   pname = "robin-map";
9   version = "1.2.1";
11   src = fetchFromGitHub {
12     owner = "Tessil";
13     repo = pname;
14     rev = "refs/tags/v${version}";
15     hash = "sha256-axVMJHTnGW2c4kGcYhEEAvKbVKYA2oxiYfwjiz7xh6Q=";
16   };
18   nativeBuildInputs = [
19     cmake
20   ];
22   meta = with lib; {
23     description = "C++ implementation of a fast hash map and hash set using robin hood hashing";
24     homepage = "https://github.com/Tessil/robin-map";
25     changelog = "https://github.com/Tessil/robin-map/releases/tag/v${version}";
26     license = licenses.mit;
27     maintainers = with maintainers; [ goibhniu ];
28     platforms = platforms.unix;
29   };