about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-levenshtein/default.nix
blob: 60767e77e7614e57aa178a3321ac2e1416622e6a (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
{ lib, stdenv
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "python-Levenshtein";
  version = "0.12.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1c9ybqcja31nghfcc8xxbbz9h60s9qi12b9hr4jyl69xbvg12fh3";
  };

  # No tests included in archive
  doCheck = false;

  meta = with lib; {
    description = "Functions for fast computation of Levenshtein distance and string similarity";
    homepage    = "https://github.com/ztane/python-Levenshtein";
    license     = licenses.gpl2;
    maintainers = with maintainers; [ aske ];
  };

}