lol

python310Packages.marisa: init at 0.2.6

+36
+32
pkgs/development/python-modules/marisa/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , marisa 4 + , swig 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "marisa"; 9 + inherit (marisa) src version; 10 + 11 + nativeBuildInputs = [ swig ]; 12 + 13 + buildInputs = [ marisa ]; 14 + 15 + preBuild = '' 16 + make -C bindings swig-python 17 + 18 + cd bindings/python 19 + ''; 20 + 21 + # upstream has no tests 22 + doCheck = false; 23 + 24 + pythonImportsCheck = [ "marisa" ]; 25 + 26 + meta = { 27 + description = "Python bindings for marisa"; 28 + homepage = "https://github.com/s-yata/marisa-trie"; 29 + license = with lib.licenses; [ bsd2 lgpl21Plus ]; 30 + maintainers = with lib.maintainers; [ dotlambda ]; 31 + }; 32 + }
+4
pkgs/top-level/python-packages.nix
··· 5535 5535 5536 5536 mariadb = callPackage ../development/python-modules/mariadb { }; 5537 5537 5538 + marisa = callPackage ../development/python-modules/marisa { 5539 + inherit (pkgs) marisa; 5540 + }; 5541 + 5538 5542 marisa-trie = callPackage ../development/python-modules/marisa-trie { }; 5539 5543 5540 5544 markdown2 = callPackage ../development/python-modules/markdown2 { };