Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions pkgs/by-name/kc/kcc/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

python3.pkgs.buildPythonApplication rec {
pname = "kcc";
version = "8.0.4";
version = "9.0.0";
pyproject = true;

src = fetchFromGitHub {
owner = "ciromattia";
repo = "kcc";
tag = "v${version}";
hash = "sha256-8rnuSGlfwH5AVp8GQn3RTtiTYFdTNp7Wqq+ATibpkNA=";
hash = "sha256-J4nuVY5eOmHziteLvoBf/+CAY0X/7wBbRtPoIgdd5MA=";
};

nativeBuildInputs = [ qt6.wrapQtAppsHook ];
Expand All @@ -31,6 +31,7 @@ python3.pkgs.buildPythonApplication rec {

dependencies = with python3.pkgs; [
packaging # undeclared dependency
pymupdf
pyside6
pillow
psutil
Expand All @@ -46,13 +47,12 @@ python3.pkgs.buildPythonApplication rec {
# Note: python scripts wouldn't get wrapped anyway, but let's be explicit about it
dontWrapQtApps = true;

makeWrapperArgs =
[
"\${qtWrapperArgs[@]}"
]
++ lib.optionals archiveSupport [
''--prefix PATH : ${lib.makeBinPath [ p7zip ]}''
];
makeWrapperArgs = [
"\${qtWrapperArgs[@]}"
]
++ lib.optionals archiveSupport [
''--prefix PATH : ${lib.makeBinPath [ p7zip ]}''
];

nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/kcc-c2e";
Expand Down
Loading