depot/pkgs/by-name/nh/nhentai/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

37 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";
};
}