mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
35 lines
658 B
Nix
35 lines
658 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
levenshtein,
|
|
pycodestyle,
|
|
hypothesis,
|
|
pytest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fuzzywuzzy";
|
|
version = "0.18.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1s00zn75y2dkxgnbw8kl8dw4p1mc77cv78fwfa4yb0274s96w0a5";
|
|
};
|
|
|
|
propagatedBuildInputs = [ levenshtein ];
|
|
nativeCheckInputs = [
|
|
pycodestyle
|
|
hypothesis
|
|
pytest
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Fuzzy string matching for Python";
|
|
homepage = "https://github.com/seatgeek/fuzzywuzzy";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ erikarvstedt ];
|
|
};
|
|
}
|