python310Packages.marisa: init at 0.2.6
This commit is contained in:
parent
e62efc6694
commit
1ea8bf15cb
2 changed files with 36 additions and 0 deletions
32
pkgs/development/python-modules/marisa/default.nix
Normal file
32
pkgs/development/python-modules/marisa/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, marisa
|
||||
, swig
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marisa";
|
||||
inherit (marisa) src version;
|
||||
|
||||
nativeBuildInputs = [ swig ];
|
||||
|
||||
buildInputs = [ marisa ];
|
||||
|
||||
preBuild = ''
|
||||
make -C bindings swig-python
|
||||
|
||||
cd bindings/python
|
||||
'';
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "marisa" ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for marisa";
|
||||
homepage = "https://github.com/s-yata/marisa-trie";
|
||||
license = with lib.licenses; [ bsd2 lgpl21Plus ];
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -5535,6 +5535,10 @@ self: super: with self; {
|
|||
|
||||
mariadb = callPackage ../development/python-modules/mariadb { };
|
||||
|
||||
marisa = callPackage ../development/python-modules/marisa {
|
||||
inherit (pkgs) marisa;
|
||||
};
|
||||
|
||||
marisa-trie = callPackage ../development/python-modules/marisa-trie { };
|
||||
|
||||
markdown2 = callPackage ../development/python-modules/markdown2 { };
|
||||
|
|
Loading…
Reference in a new issue