summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/flashtext/default.nix
blob: b0623bd18d5980a6050717c3d3881dfd07048f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "flashtext";
  version = "2.7";

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

  # json files that tests look for don't exist in the pypi dist
  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/vi3k6i5/flashtext";
    description = "Python package to replace keywords in sentences or extract keywords from sentences";
    maintainers = with maintainers; [ aanderse ];
    license = with licenses; [ mit ];
  };
}