1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "flashtext";
9 version = "2.7";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "1kq5idfp9skqkjdcld40igxn2yqjly8jpmxawkp0skwxw29jpgm1";
15 };
16
17 # json files that tests look for don't exist in the pypi dist
18 doCheck = false;
19
20 meta = with lib; {
21 homepage = "https://github.com/vi3k6i5/flashtext";
22 description = "Python package to replace keywords in sentences or extract keywords from sentences";
23 maintainers = with maintainers; [ aanderse ];
24 license = with licenses; [ mit ];
25 };
26}