33 lines
795 B
Nix
33 lines
795 B
Nix
|
|
{
|
||
|
|
stdenv,
|
||
|
|
lib,
|
||
|
|
fetchFromGitHub,
|
||
|
|
cmake,
|
||
|
|
ninja,
|
||
|
|
}:
|
||
|
|
stdenv.mkDerivation (finalAttrs: {
|
||
|
|
pname = "unordered-dense";
|
||
|
|
version = "4.6.0";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "martinus";
|
||
|
|
repo = "unordered_dense";
|
||
|
|
tag = "v${finalAttrs.version}";
|
||
|
|
hash = "sha256-PgrbNHodhFruGP6n6MZ3FtFTyyNRCIEytChFUbbiZOU=";
|
||
|
|
};
|
||
|
|
|
||
|
|
nativeBuildInputs = [
|
||
|
|
cmake
|
||
|
|
ninja
|
||
|
|
];
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
description = "Fast & densely stored hashmap and hashset based on robin-hood backward shift deletion";
|
||
|
|
homepage = "https://github.com/martinus/unordered_dense";
|
||
|
|
changelog = "https://github.com/martinus/unordered_dense/releases/tag/${finalAttrs.src.tag}";
|
||
|
|
maintainers = with lib.maintainers; [ marcin-serwin ];
|
||
|
|
license = lib.licenses.mit;
|
||
|
|
platforms = lib.platforms.all;
|
||
|
|
};
|
||
|
|
})
|