marisa-python: init at 1.3.40

This commit is contained in:
Ivan Solyankin 2018-01-30 14:27:38 +03:00 committed by Nikolay Amiantov
parent ddddca5c2f
commit 34b06b05e3
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, marisa, swig }:
buildPythonPackage rec {
pname = "marisa";
version = "1.3.40";
src = fetchFromGitHub {
owner = "s-yata";
repo = "marisa-trie";
rev = "59e410597981475bae94d9d9eb252c1d9790dc2f";
sha256 = "0z4bf55np08q3cbi6gvj3cpw3zp8kf2d0jq6k74pjk066m7rapbb";
};
nativeBuildInputs = [ swig marisa ];
buildinputs = [ marisa ];
sourceRoot = "${src.name}/bindings/python";
meta = with stdenv.lib; {
description = "Python binding for marisa package (do not confuse with marisa-trie python bindings)";
homepage = https://github.com/s-yata/marisa-trie;
license = with licenses; [ bsd2 lgpl2 ];
maintainers = with maintainers; [ vanzef ];
};
}

View File

@ -9553,6 +9553,10 @@ in {
mozversion = callPackage ../development/python-modules/marionette-harness/mozversion.nix {};
marionette-harness = callPackage ../development/python-modules/marionette-harness {};
marisa = callPackage ../development/python-modules/marisa {
marisa = pkgs.marisa;
};
markupsafe = buildPythonPackage rec {
name = "markupsafe-${version}";
version = "1.0";