1{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 pname = "marisa";
5 version = "0.2.6";
6
7 src = fetchFromGitHub {
8 owner = "s-yata";
9 repo = "marisa-trie";
10 rev = "v${version}";
11 sha256 = "1hy8hfksizk1af6kg8z3b9waiz6d5ggd73fiqcvmhfgra36dscyq";
12 };
13
14 enableParallelBuilding = true;
15
16 nativeBuildInputs = [ autoreconfHook ];
17
18 meta = with lib; {
19 homepage = "https://github.com/s-yata/marisa-trie";
20 description = "Static and space-efficient trie data structure library";
21 license = licenses.bsd3;
22 maintainers = with maintainers; [ sifmelcara ];
23 platforms = platforms.all;
24 };
25}