nixpkgs/pkgs/development/python-modules/jellyfish/default.nix

28 lines
522 B
Nix
Raw Normal View History

2018-01-01 15:59:56 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
2018-01-01 15:59:56 +01:00
, pytest
, unicodecsv
}:
buildPythonPackage rec {
pname = "jellyfish";
version = "0.7.2";
disabled = !isPy3k;
2018-01-01 15:59:56 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "11jja4wlzcr2pwvp3blj1jg6570zr0mpcm3nzhkbkdrbgq6wa2fb";
2018-01-01 15:59:56 +01:00
};
checkInputs = [ pytest unicodecsv ];
meta = {
homepage = https://github.com/sunlightlabs/jellyfish;
description = "Approximate and phonetic matching of strings";
maintainers = with lib.maintainers; [ koral ];
};
}