2019-04-14 22:01:22 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
2017-09-12 16:06:19 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-14 22:01:22 +01:00
|
|
|
pname = "marisa";
|
2020-06-26 18:19:43 +01:00
|
|
|
version = "0.2.6";
|
2017-09-12 16:06:19 +01:00
|
|
|
|
2019-04-14 22:01:22 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "s-yata";
|
|
|
|
repo = "marisa-trie";
|
|
|
|
rev = "v${version}";
|
2020-06-26 18:19:43 +01:00
|
|
|
sha256 = "1hy8hfksizk1af6kg8z3b9waiz6d5ggd73fiqcvmhfgra36dscyq";
|
2017-09-12 16:06:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-04-14 22:01:22 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2017-09-12 16:06:19 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/s-yata/marisa-trie";
|
2017-09-12 16:06:19 +01:00
|
|
|
description = "Static and space-efficient trie data structure library";
|
|
|
|
license = licenses.bsd3;
|
2017-10-03 13:07:12 +01:00
|
|
|
maintainers = with maintainers; [ sifmelcara ];
|
2017-09-12 16:06:19 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|