diff options
author | Fernando J Pando <fernando.pando@stelligent.com> | 2016-08-31 13:59:31 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-09-01 09:42:10 +0200 |
commit | 96a0fbb587e614ffed924d0c5d4b4cca1b80efbd (patch) | |
tree | a9f1516ee4ed8255b749e3bd601f2b5279c99a0b /pkgs | |
parent | 42d8dd14b90712aeab9dd57fc3d49e2fe81b9307 (diff) | |
download | nixlib-96a0fbb587e614ffed924d0c5d4b4cca1b80efbd.tar nixlib-96a0fbb587e614ffed924d0c5d4b4cca1b80efbd.tar.gz nixlib-96a0fbb587e614ffed924d0c5d4b4cca1b80efbd.tar.bz2 nixlib-96a0fbb587e614ffed924d0c5d4b4cca1b80efbd.tar.lz nixlib-96a0fbb587e614ffed924d0c5d4b4cca1b80efbd.tar.xz nixlib-96a0fbb587e614ffed924d0c5d4b4cca1b80efbd.tar.zst nixlib-96a0fbb587e614ffed924d0c5d4b4cca1b80efbd.zip |
pythonPackages.whoosh: init at 2.7.4
Tested on Linux - python 2.7 - python 3.5
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9defa610f424..773d3b05446a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -29824,4 +29824,32 @@ in modules // { sha256 = "1lqa8dy1sr1bxi00ri79lmbxvzxi84ki8p46zynyrgcqhwicxq2n"; }; }; + + whoosh = buildPythonPackage rec { + name = "${pname}-${version}"; + pname = "Whoosh"; + version = "2.7.4"; + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/25/2b/6beed2107b148edc1321da0d489afc4617b9ed317ef7b72d4993cad9b684/${name}.tar.gz"; + sha256 = "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw"; + }; + buildInputs = with self; [ pytest ]; + + # Wrong encoding + postPatch = '' + rm tests/test_reading.py + ''; + checkPhase = '' + py.test + ''; + + meta = { + description = "Fast, pure-Python full text indexing, search, and spell checking library."; + homepage = "http://bitbucket.org/mchaput/whoosh"; + license = licenses.bsd2; + maintainers = with maintainers; [ nand0p ]; + platforms = platforms.all; + }; + }; + } |