depot/third_party/nixpkgs/pkgs/development/python-modules/py_stringmatching/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

43 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 ];
};
}