Loading pkgs/by-name/kc/kcc/package.nix +27 −13 Original line number Diff line number Diff line { stdenv, lib, qt6, python3, fetchFromGitHub, qt6, archiveSupport ? true, p7zip, versionCheckHook, nix-update-script, python3, archiveSupport ? true, }: python3.pkgs.buildPythonApplication rec { pname = "kcc"; version = "7.5.1"; format = "setuptools"; version = "8.0.4"; pyproject = true; src = fetchFromGitHub { owner = "ciromattia"; repo = "kcc"; tag = "v${version}"; hash = "sha256-XB+xss/QiZuo6gWphyjFh9DO74O5tNqfX5LUzsa4gqo="; hash = "sha256-8rnuSGlfwH5AVp8GQn3RTtiTYFdTNp7Wqq+ATibpkNA="; }; nativeBuildInputs = [ qt6.wrapQtAppsHook ]; buildInputs = [ qt6.qtbase ] ++ lib.optionals stdenv.hostPlatform.isLinux [ qt6.qtwayland ]; propagatedBuildInputs = with python3.pkgs; [ packaging buildInputs = [ qt6.qtbase ]; build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ packaging # undeclared dependency pyside6 pillow psutil python-slugify raven requests natsort mozjpeg_lossless_optimization natsort distro pyside6 numpy ]; qtWrapperArgs = lib.optionals archiveSupport [ ''--prefix PATH : ${lib.makeBinPath [ p7zip ]}'' ]; # 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 ]}'' ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgram = "${placeholder "out"}/bin/kcc-c2e"; Loading Loading
pkgs/by-name/kc/kcc/package.nix +27 −13 Original line number Diff line number Diff line { stdenv, lib, qt6, python3, fetchFromGitHub, qt6, archiveSupport ? true, p7zip, versionCheckHook, nix-update-script, python3, archiveSupport ? true, }: python3.pkgs.buildPythonApplication rec { pname = "kcc"; version = "7.5.1"; format = "setuptools"; version = "8.0.4"; pyproject = true; src = fetchFromGitHub { owner = "ciromattia"; repo = "kcc"; tag = "v${version}"; hash = "sha256-XB+xss/QiZuo6gWphyjFh9DO74O5tNqfX5LUzsa4gqo="; hash = "sha256-8rnuSGlfwH5AVp8GQn3RTtiTYFdTNp7Wqq+ATibpkNA="; }; nativeBuildInputs = [ qt6.wrapQtAppsHook ]; buildInputs = [ qt6.qtbase ] ++ lib.optionals stdenv.hostPlatform.isLinux [ qt6.qtwayland ]; propagatedBuildInputs = with python3.pkgs; [ packaging buildInputs = [ qt6.qtbase ]; build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ packaging # undeclared dependency pyside6 pillow psutil python-slugify raven requests natsort mozjpeg_lossless_optimization natsort distro pyside6 numpy ]; qtWrapperArgs = lib.optionals archiveSupport [ ''--prefix PATH : ${lib.makeBinPath [ p7zip ]}'' ]; # 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 ]}'' ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgram = "${placeholder "out"}/bin/kcc-c2e"; Loading