Robert Schütz 2025-05-26 19:36:50 -07:00
parent d9dd002a29
commit 1e16873f68

View file

@ -2,26 +2,27 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
autoreconfHook, cmake,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "marisa"; pname = "marisa";
version = "0.2.7"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "s-yata"; owner = "s-yata";
repo = "marisa-trie"; repo = "marisa-trie";
rev = "v${version}"; tag = "v${version}";
sha256 = "sha256-+OGtDbwl7ar3i65POkTGyC4AYkOT4YuASfdt5FGJ8yM="; hash = "sha256-XOXX0NuU+erL/KDAZgBeX+LKO9uSEOyP1/VuMDE5pi0=";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ cmake ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/s-yata/marisa-trie"; 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"; description = "Static and space-efficient trie data structure library";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ sifmelcara ]; maintainers = with maintainers; [ sifmelcara ];