1{ lib, buildPythonPackage, fetchPypi, levenshtein, pycodestyle, hypothesis, pytest }:
2
3buildPythonPackage rec {
4 pname = "fuzzywuzzy";
5 version = "0.18.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1s00zn75y2dkxgnbw8kl8dw4p1mc77cv78fwfa4yb0274s96w0a5";
10 };
11
12 propagatedBuildInputs = [ levenshtein ];
13 nativeCheckInputs = [ pycodestyle hypothesis pytest ];
14
15 meta = with lib; {
16 description = "Fuzzy string matching for Python";
17 homepage = "https://github.com/seatgeek/fuzzywuzzy";
18 license = licenses.gpl2;
19 maintainers = with maintainers; [ erikarvstedt ];
20 };
21}