1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "marisa-${version}";
5 version = "0.2.4";
6
7 src = fetchurl {
8 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/marisa-trie/marisa-${version}.tar.gz";
9 sha256 = "1cwzf8hr348zihkiy0qckx0n6rxg7sy113xhbslb1irw1pvs99v7";
10 };
11
12 enableParallelBuilding = true;
13
14 meta = with stdenv.lib; {
15 homepage = https://github.com/s-yata/marisa-trie;
16 description = "Static and space-efficient trie data structure library";
17 license = licenses.bsd3;
18 maintainers = with maintainers; [ sifmelcara ];
19 platforms = platforms.all;
20 };
21}