2018-02-24 14:44:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, numpy
|
|
|
|
, six
|
|
|
|
, nose
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py_stringmatching";
|
2019-02-23 14:36:01 +00:00
|
|
|
version = "0.4.1";
|
2018-02-24 14:44:38 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-23 14:36:01 +00:00
|
|
|
sha256 = "c46db1e855cef596dfbbe1bd48fcabb30736479eff602c2bf88af10f998f1532";
|
2018-02-24 14:44:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy six ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Python string matching library including string tokenizers and string similarity measures";
|
|
|
|
homepage = https://sites.google.com/site/anhaidgroup/projects/magellan/py_stringmatching;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ixxie ];
|
|
|
|
};
|
|
|
|
}
|