nixpkgs/pkgs/development/libraries/marisa/default.nix

26 lines
651 B
Nix
Raw Normal View History

2019-04-15 00:01:22 +03:00
{ stdenv, fetchFromGitHub, autoreconfHook }:
2017-09-12 18:06:19 +03:00
stdenv.mkDerivation rec {
2019-04-15 00:01:22 +03:00
pname = "marisa";
version = "0.2.5";
2017-09-12 18:06:19 +03:00
2019-04-15 00:01:22 +03:00
src = fetchFromGitHub {
owner = "s-yata";
repo = "marisa-trie";
rev = "v${version}";
sha256 = "0z4bf55np08q3cbi6gvj3cpw3zp8kf2d0jq6k74pjk066m7rapbb";
2017-09-12 18:06:19 +03:00
};
enableParallelBuilding = true;
2019-04-15 00:01:22 +03:00
nativeBuildInputs = [ autoreconfHook ];
2017-09-12 18:06:19 +03:00
meta = with stdenv.lib; {
homepage = https://github.com/s-yata/marisa-trie;
2017-09-12 18:06:19 +03:00
description = "Static and space-efficient trie data structure library";
license = licenses.bsd3;
maintainers = with maintainers; [ sifmelcara ];
2017-09-12 18:06:19 +03:00
platforms = platforms.all;
};
}