2018-01-01 14:59:56 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-01-16 19:32:58 +00:00
|
|
|
, isPy3k
|
2018-01-01 14:59:56 +00:00
|
|
|
, pytest
|
|
|
|
, unicodecsv
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jellyfish";
|
2019-01-16 19:32:58 +00:00
|
|
|
version = "0.7.1";
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2018-01-01 14:59:56 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-16 19:32:58 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|