nixpkgs/pkgs/development/python-modules/py_stringmatching/default.nix
2023-03-03 18:50:36 +01:00

44 lines
887 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "py-stringmatching";
version = "0.4.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "py_stringmatching";
inherit version;
sha256 = "sha256-khubsWOzEN80HDOCORMgT3sMqfajGfW0UUCDAL03je4=";
};
propagatedBuildInputs = [
numpy
six
];
nativeCheckInputs = [
nose
];
pythonImportsCheck = [
"py_stringmatching"
];
meta = with lib; {
description = "Python string matching library including string tokenizers and string similarity measures";
homepage = "https://github.com/anhaidgroup/py_stringmatching";
changelog = "https://github.com/anhaidgroup/py_stringmatching/blob/v${version}/CHANGES.txt";
license = licenses.bsd3;
maintainers = with maintainers; [ ixxie ];
};
}