2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flashtext";
|
|
|
|
version = "2.7";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
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; {
|
2022-01-03 16:56:52 +00:00
|
|
|
homepage = "https://github.com/vi3k6i5/flashtext";
|
2021-12-06 16:07:01 +00:00
|
|
|
description = "Python package to replace keywords in sentences or extract keywords from sentences";
|
|
|
|
maintainers = with maintainers; [ aanderse ];
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
};
|
|
|
|
}
|