2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
2024-06-05 15:53:02 +00:00
|
|
|
pname = "fanficfare";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "4.35.0";
|
2024-01-25 14:12:00 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit pname version;
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-hPBURlsrr/7c26YFZo5UT7PTs8s+D8BXxjU/uposHjQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
beautifulsoup4
|
2024-01-25 14:12:00 +00:00
|
|
|
brotli
|
2020-04-24 23:36:52 +00:00
|
|
|
chardet
|
2021-12-30 13:39:12 +00:00
|
|
|
cloudscraper
|
2020-04-24 23:36:52 +00:00
|
|
|
html5lib
|
|
|
|
html2text
|
2024-01-25 14:12:00 +00:00
|
|
|
requests
|
2021-12-30 13:39:12 +00:00
|
|
|
requests-file
|
2024-01-25 14:12:00 +00:00
|
|
|
urllib3
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # no tests exist
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tool for making eBooks from fanfiction web sites";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "fanficfare";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/JimmXinu/FanFicFare";
|
|
|
|
license = licenses.gpl3;
|
2021-03-09 03:18:52 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ dwarfmaster ];
|
|
|
|
};
|
|
|
|
}
|