nixpkgs/pkgs/applications/misc/nhentai/default.nix

27 lines
646 B
Nix
Raw Normal View History

{ lib, python3Packages, fetchPypi }:
2021-08-28 18:33:28 +00:00
python3Packages.buildPythonApplication rec {
pname = "nhentai";
version = "0.4.16";
src = fetchPypi {
2021-08-28 18:33:28 +00:00
inherit pname version;
sha256 = "sha256-2lzrQqUx3lPM+OAUO/SwT+fAuG7kWmUnTACNUiP7d1M=";
};
propagatedBuildInputs = with python3Packages; [
requests
iso8601
beautifulsoup4
soupsieve
tabulate
future
];
meta = with lib; {
homepage = "https://github.com/RicterZ/nhentai";
description = "nHentai is a CLI tool for downloading doujinshi from <http://nhentai.net>";
license = licenses.mit;
maintainers = with maintainers; [ travisdavis-ops ];
};
}