about summary refs log tree commit diff
path: root/pkgs/development/python-modules/fuzzywuzzy/default.nix
blob: c3681fb1da832fcb2d72f893b9b723796ad672b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  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 ];
  };
}