Update Nix package definitions to include webcomix and enhance overlays. Refactor download.nix to utilize buildPythonApplication and streamline dependencies, ensuring proper integration of new packages.
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
{
|
||||
python3Packages,
|
||||
buildPythonApplication,
|
||||
setuptools,
|
||||
pyyaml,
|
||||
types-pyyaml,
|
||||
yt-dlp,
|
||||
gallery-dl,
|
||||
ffmpeg,
|
||||
webcomix,
|
||||
...
|
||||
}:
|
||||
let
|
||||
pname = "download";
|
||||
version = "2.6";
|
||||
in
|
||||
python3Packages.buildPythonApplication {
|
||||
buildPythonApplication {
|
||||
inherit pname version;
|
||||
|
||||
src = builtins.path {
|
||||
@@ -18,18 +23,14 @@ python3Packages.buildPythonApplication {
|
||||
|
||||
pyproject = true;
|
||||
|
||||
build-system = [ python3Packages.setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
ffmpeg
|
||||
gallery-dl
|
||||
# (callPackage ../pkgs_pr/webcomix.nix { })
|
||||
]
|
||||
++ builtins.attrValues {
|
||||
inherit (python3Packages)
|
||||
pyyaml
|
||||
types-pyyaml
|
||||
yt-dlp
|
||||
;
|
||||
};
|
||||
pyyaml
|
||||
types-pyyaml
|
||||
yt-dlp
|
||||
webcomix
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user