depot/third_party/nixpkgs/pkgs/tools/text/fanficfare/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

39 lines
859 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "fanficfare";
version = "4.37.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Wh/eWseR+SSVYUqNG6krYCgS1gipSJGTJ+fi6uZNCO8=";
};
nativeBuildInputs = with python3Packages; [
setuptools
];
propagatedBuildInputs = with python3Packages; [
beautifulsoup4
brotli
chardet
cloudscraper
html5lib
html2text
requests
requests-file
urllib3
];
doCheck = false; # no tests exist
meta = with lib; {
description = "Tool for making eBooks from fanfiction web sites";
mainProgram = "fanficfare";
homepage = "https://github.com/JimmXinu/FanFicFare";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ dwarfmaster ];
};
}