2023-05-25 16:03:52 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2017-04-13 20:14:19 +00:00
|
|
|
|
2018-12-16 07:35:38 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "FanFicFare";
|
2024-04-04 13:16:36 +00:00
|
|
|
version = "4.33.0";
|
2023-11-27 13:59:14 +00:00
|
|
|
pyproject = true;
|
2017-04-13 20:14:19 +00:00
|
|
|
|
2023-05-25 16:03:52 +00:00
|
|
|
src = fetchPypi {
|
2018-12-16 07:35:38 +00:00
|
|
|
inherit pname version;
|
2024-04-04 13:16:36 +00:00
|
|
|
hash = "sha256-1s3YeI4deej+lkDXtFzfBOtATY+jx+KB7JAnLUDZK8w=";
|
2017-04-13 20:14:19 +00:00
|
|
|
};
|
|
|
|
|
2023-11-27 13:59:14 +00:00
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2018-12-16 07:35:38 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
beautifulsoup4
|
2023-11-27 13:59:14 +00:00
|
|
|
brotli
|
2018-12-16 07:35:38 +00:00
|
|
|
chardet
|
2021-12-25 07:46:17 +00:00
|
|
|
cloudscraper
|
2018-12-16 07:35:38 +00:00
|
|
|
html5lib
|
|
|
|
html2text
|
2023-11-27 13:59:14 +00:00
|
|
|
requests
|
2021-12-25 07:46:17 +00:00
|
|
|
requests-file
|
2023-11-27 13:59:14 +00:00
|
|
|
urllib3
|
2018-12-16 07:35:38 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # no tests exist
|
2017-04-13 20:14:19 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-12-16 07:35:38 +00:00
|
|
|
description = "Tool for making eBooks from fanfiction web sites";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "fanficfare";
|
2020-03-04 22:17:43 +00:00
|
|
|
homepage = "https://github.com/JimmXinu/FanFicFare";
|
2017-04-13 20:14:19 +00:00
|
|
|
license = licenses.gpl3;
|
2021-03-04 07:29:36 +00:00
|
|
|
platforms = platforms.unix;
|
2020-01-21 06:39:52 +00:00
|
|
|
maintainers = with maintainers; [ dwarfmaster ];
|
2017-04-13 20:14:19 +00:00
|
|
|
};
|
|
|
|
}
|