nixpkgs/pkgs/tools/text/fanficfare/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
859 B
Nix
Raw Normal View History

{ lib, python3Packages, fetchPypi }:
2017-04-13 20:14:19 +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
src = fetchPypi {
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
];
propagatedBuildInputs = with python3Packages; [
beautifulsoup4
2023-11-27 13:59:14 +00:00
brotli
chardet
2021-12-25 07:46:17 +00:00
cloudscraper
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
];
doCheck = false; # no tests exist
2017-04-13 20:14:19 +00:00
meta = with lib; {
description = "Tool for making eBooks from fanfiction web sites";
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;
maintainers = with maintainers; [ dwarfmaster ];
2017-04-13 20:14:19 +00:00
};
}