nixpkgs/pkgs/by-name/nh/nhentai/package.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

38 lines
731 B
Nix

{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "nhentai";
version = "0.5.3";
src = fetchFromGitHub {
owner = "RicterZ";
repo = pname;
rev = version;
hash = "sha256-SjWIctAyczjYGP4buXQBA/RcrdikMSuSBtfhORNmXMc=";
};
# tests require a network connection
doCheck = false;
propagatedBuildInputs = with python3Packages; [
requests
img2pdf
iso8601
beautifulsoup4
soupsieve
tabulate
future
];
meta = {
homepage = "https://github.com/RicterZ/nhentai";
description = "CLI tool for downloading doujinshi from adult site(s)";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "nhentai";
};
}