Merge pull request #244690 from 3JlOy-PYCCKUi/nhentai

nhentai: 0.4.16 -> 0.5.3
This commit is contained in:
Weijia Wang 2023-10-12 23:39:43 +02:00 committed by GitHub
commit 90ee47bc14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,21 @@
{ lib, python3Packages, fetchPypi }:
{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "nhentai";
version = "0.4.16";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-2lzrQqUx3lPM+OAUO/SwT+fAuG7kWmUnTACNUiP7d1M=";
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
iso8601