
Diff: https://github.com/s-yata/marisa-trie/compare/v0.2.7...v0.3.0 Changelog: https://github.com/s-yata/marisa-trie/releases/tag/v0.3.0
32 lines
711 B
Nix
32 lines
711 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "marisa";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "s-yata";
|
|
repo = "marisa-trie";
|
|
tag = "v${version}";
|
|
hash = "sha256-XOXX0NuU+erL/KDAZgBeX+LKO9uSEOyP1/VuMDE5pi0=";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/s-yata/marisa-trie";
|
|
changelog = "https://github.com/s-yata/marisa-trie/releases/tag/${src.tag}";
|
|
description = "Static and space-efficient trie data structure library";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ sifmelcara ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|