tutanota-desktop: 259.250108.1 -> 266.250202.0 (#377234)
[NixPkgs.git] / pkgs / development / python-modules / marisa / default.nix
blob1de25320bb3fe0c7e09038390fc25f8a9e5c3401
2   lib,
3   buildPythonPackage,
4   marisa,
5   swig,
6 }:
8 buildPythonPackage rec {
9   pname = "marisa";
10   format = "setuptools";
11   inherit (marisa) src version;
13   nativeBuildInputs = [ swig ];
15   buildInputs = [ marisa ];
17   preBuild = ''
18     make -C bindings swig-python
20     cd bindings/python
21   '';
23   # upstream has no tests
24   doCheck = false;
26   pythonImportsCheck = [ "marisa" ];
28   meta = {
29     description = "Python bindings for marisa";
30     homepage = "https://github.com/s-yata/marisa-trie";
31     license = with lib.licenses; [
32       bsd2
33       lgpl21Plus
34     ];
35     maintainers = with lib.maintainers; [ dotlambda ];
36   };