nhentai: 0.5.3 -> 0.5.25 (#419395)
This commit is contained in:
@@ -1,32 +1,67 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
let
|
||||
python =
|
||||
let
|
||||
packageOverrides = self: super: {
|
||||
iso8601 = super.iso8601.overridePythonAttrs (old: rec {
|
||||
version = "1.1.0";
|
||||
src = fetchPypi {
|
||||
pname = "iso8601";
|
||||
inherit version;
|
||||
hash = "sha256-MoEee4He7iBj6m0ulPiBmobR84EeSdI2I6QfqDK+8D8=";
|
||||
};
|
||||
});
|
||||
urllib3 = super.urllib3.overridePythonAttrs (old: rec {
|
||||
version = "1.26.20";
|
||||
src = fetchPypi {
|
||||
pname = "urllib3";
|
||||
inherit version;
|
||||
hash = "sha256-QMLcDGgeR+uPkOfie/b/ffLmd0If1GdW2hFhw5ynDTI=";
|
||||
};
|
||||
});
|
||||
};
|
||||
in
|
||||
python3.override {
|
||||
inherit packageOverrides;
|
||||
self = python;
|
||||
};
|
||||
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "nhentai";
|
||||
version = "0.5.3";
|
||||
format = "setuptools";
|
||||
version = "0.5.25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RicterZ";
|
||||
repo = "nhentai";
|
||||
rev = version;
|
||||
hash = "sha256-SjWIctAyczjYGP4buXQBA/RcrdikMSuSBtfhORNmXMc=";
|
||||
hash = "sha256-KwcaCeeGeR6qSfraSYyf4VEims9YWB6j3HmpT8XSePo=";
|
||||
};
|
||||
|
||||
# tests require a network connection
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pyproject = true;
|
||||
|
||||
build-system = with python.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = with python.pkgs; [
|
||||
requests
|
||||
img2pdf
|
||||
iso8601
|
||||
beautifulsoup4
|
||||
soupsieve
|
||||
beautifulsoup4
|
||||
tabulate
|
||||
future
|
||||
iso8601
|
||||
urllib3
|
||||
httpx
|
||||
chardet
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user