kcc: 5.5.1 -> 7.3.3

Co-authored-by: Arne Keller <arne.keller@posteo.de>
This commit is contained in:
Adrien Faure
2025-05-16 10:07:52 +02:00
co-authored by Arne Keller
parent 3dac6fb361
commit 8afcd39eb9
2 changed files with 60 additions and 2 deletions
+60
View File
@@ -0,0 +1,60 @@
{
stdenv,
lib,
qt6,
fetchFromGitHub,
p7zip,
versionCheckHook,
nix-update-script,
python3,
archiveSupport ? true,
}:
python3.pkgs.buildPythonApplication rec {
pname = "kcc";
version = "7.3.3";
src = fetchFromGitHub {
owner = "ciromattia";
repo = "kcc";
tag = "v${version}";
hash = "sha256-6zHUV4s1bOdARsTwNRxFM+s0p+6FLJhqJ9qG5BaBgas=";
};
nativeBuildInputs = [ qt6.wrapQtAppsHook ];
buildInputs = [ qt6.qtbase ] ++ lib.optionals stdenv.hostPlatform.isLinux [ qt6.qtwayland ];
propagatedBuildInputs = with python3.pkgs; [
packaging
pillow
psutil
python-slugify
raven
requests
natsort
mozjpeg_lossless_optimization
distro
pyside6
numpy
];
qtWrapperArgs = lib.optionals archiveSupport [ ''--prefix PATH : ${lib.makeBinPath [ p7zip ]}'' ];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/kcc-c2e";
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Python app to convert comic/manga files or folders to EPUB, Panel View MOBI or E-Ink optimized CBZ";
homepage = "https://kcc.iosphe.re";
mainProgram = "kcc";
changelog = "https://github.com/ciromattia/kcc/releases/tag/v${version}";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [
dawidsowa
adfaure
];
};
}
-2
View File
@@ -7420,8 +7420,6 @@ with pkgs;
jenkins-job-builder = with python3Packages; toPythonApplication jenkins-job-builder;
kcc = callPackage ../applications/graphics/kcc { };
kustomize = callPackage ../development/tools/kustomize { };
kustomize_3 = callPackage ../development/tools/kustomize/3.nix { };