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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
698 B
Nix
Raw Normal View History

2023-01-07 22:16:03 +00:00
{ lib
, stdenv
2019-05-30 00:12:32 +00:00
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "robin-map";
2023-01-07 17:45:44 +00:00
version = "1.2.1";
2019-05-30 00:12:32 +00:00
src = fetchFromGitHub {
owner = "Tessil";
repo = pname;
2023-01-07 22:16:03 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-axVMJHTnGW2c4kGcYhEEAvKbVKYA2oxiYfwjiz7xh6Q=";
2019-05-30 00:12:32 +00:00
};
2023-01-07 22:16:03 +00:00
nativeBuildInputs = [
cmake
];
2019-05-30 00:12:32 +00:00
meta = with lib; {
2019-05-30 00:12:32 +00:00
description = "C++ implementation of a fast hash map and hash set using robin hood hashing";
2023-01-07 22:16:03 +00:00
homepage = "https://github.com/Tessil/robin-map";
changelog = "https://github.com/Tessil/robin-map/releases/tag/v${version}";
2019-05-30 00:12:32 +00:00
license = licenses.mit;
maintainers = with maintainers; [ goibhniu ];
2019-05-30 00:12:32 +00:00
platforms = platforms.unix;
};
}