{ 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; }; }