summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/flashtext/default.nix
blob: 89d4bf3cf8b3b81b80c981c743ecf3038bf7c4dc (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
25
26
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

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

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

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

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