567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
35 lines
656 B
Nix
35 lines
656 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 = {
|
|
description = "Fuzzy string matching for Python";
|
|
homepage = "https://github.com/seatgeek/fuzzywuzzy";
|
|
license = lib.licenses.gpl2;
|
|
maintainers = with lib.maintainers; [ erikarvstedt ];
|
|
};
|
|
}
|