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

28 lines
522 B
Nix
Raw Normal View History

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