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

27 lines
612 B
Nix
Raw Normal View History

{ lib, stdenv
2019-05-30 00:12:32 +00:00
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "robin-map";
2020-06-30 13:14:16 +00:00
version = "0.6.3";
2019-05-30 00:12:32 +00:00
src = fetchFromGitHub {
owner = "Tessil";
repo = pname;
rev = "v${version}";
2020-06-30 13:14:16 +00:00
sha256 = "1li70vwsksva9c4yly90hjafgqfixi1g6d52qq9p6r60vqc4pkjj";
2019-05-30 00:12:32 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://github.com/Tessil/robin-map";
2019-05-30 00:12:32 +00: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;
};
}