diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 73fa69b4cb02..3e8164ff9b8b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6188,6 +6188,24 @@ let }; }); + jellyfish = buildPythonPackage rec { + version = "0.5.0"; + name = "jellyfish-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/j/jellyfish/${name}.tar.gz"; + sha256 = "04p80gwwlhxjp8zpjf70a62x69l9rlvnz1pwi5ar52gyajn8z6z1"; + }; + + buildInputs = with self; [ pytest unicodecsv ]; + + meta = with stdenv.lib; { + homepage = http://github.com/sunlightlabs/jellyfish; + description = "Approximate and phonetic matching of strings"; + maintainers = [ maintainers.koral ]; + }; + }; + jinja2 = buildPythonPackage rec { name = "Jinja2-2.7.3"; @@ -12670,6 +12688,27 @@ let }; }; + unicodecsv = buildPythonPackage rec { + version = "0.12.0"; + name = "unicodecsv-${version}"; + disabled = isPy3k; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/u/unicodecsv/${name}.tar.gz"; + sha256 = "012yvwza38bq84z9p8xzlxn7bkz0gf5y2nm5js7cyn766cy53dxh"; + }; + + # ImportError: No module named runtests + #buildInputs = with self; [ unittest2 ]; + doCheck = false; + + meta = with stdenv.lib; { + description = "Drop-in replacement for Python2's stdlib csv module, with unicode support"; + homepage = https://github.com/jdunck/python-unicodecsv; + maintainers = [ maintainers.koral ]; + }; + }; + unittest2 = buildPythonPackage rec { version = "0.5.1"; name = "unittest2-${version}";