Change:
Package name: imgbrd-grabber Latest released version: <!-- Search your package here: --- Current version on the unstable channel: 7.10.0 Current version on the stable/release channel: 7.10.0 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR.

Discussion:
<del> { lib , stdenv , cmake , fetchFromGitHub , wrapQtAppsHook , qtmultimedia , qttools , qtdeclarative , qtnetworkauth , qtbase , makeWrapper , catch2 , nodejs , libpulseaudio , openssl , rsync , typescript }: stdenv.mkDerivation rec { pname = "imgbrd-grabber"; version = "7.10.0"; src = fetchFromGitHub { owner = "Bionus"; repo = "imgbrd-grabber"; rev = "v${version}"; sha256 = "sha256-AT6pN2do0LlH6xAXKcFQv+oderD88/EiG1JnCw6kOOg="; fetchSubmodules = true; }; buildInputs = [ openssl libpulseaudio typescript ]; nativeBuildInputs = [ makeWrapper qtmultimedia qtbase qtdeclarative qttools qtnetworkauth nodejs cmake wrapQtAppsHook ]; extraOutputsToLink = [ "doc" ]; postPatch = '' # the package.sh script provides some install helpers # using this might make it easier to maintain/less likely for the # install phase to fail across version bumps patchShebangs ./scripts/package.sh # ensure the script uses the rsync package from nixpkgs substituteInPlace ../scripts/package.sh --replace "rsync" "${rsync}/bin/rsync" # the npm build step only runs typescript # run this step directly so it doesn't try and fail to download the unnecessary node_modules, etc. substituteInPlace ./sites/CMakeLists.txt --replace "npm install" "npm run build" # remove the vendored catch2 rm -rf tests/src/vendor/catch # link the catch2 sources from nixpkgs ln -sf ${catch2.src} tests/src/vendor/catch ''; preBuild = '' export HOME=$TMPDIR ''; postInstall = '' # move the binaries to the share/Grabber folder so # some relative links can be resolved (e.g. settings.ini) mv $out/bin/* $out/share/Grabber/ cd ../.. # run the package.sh with $out/share/Grabber as the $APP_DIR sh ./scripts/package.sh $out/share/Grabber # add symlinks for the binaries to $out/bin ln -s $out/share/Grabber/Grabber $out/bin/Grabber ln -s $out/share/Grabber/Grabber-cli $out/bin/Grabber-cli ''; sourceRoot = "${src.name}/src"; meta = with lib; { description = "Very customizable imageboard/booru downloader with powerful filenaming features"; license = licenses.asl20; homepage = "https://bionus.github.io/imgbrd-grabber/"; mainProgram = "Grabber"; maintainers = [ maintainers.evanjs ]; }; } </del>

<ins> { lib, stdenv, cmake, fetchFromGitHub, makeWrapper, catch2, nodejs, libpulseaudio, openssl, rsync, typescript, qt6, }: stdenv.mkDerivation (finalAttrs: { pname = "imgbrd-grabber"; version = "7.12.2"; src = fetchFromGitHub { owner = "Bionus"; repo = "imgbrd-grabber"; rev = "refs/tags/v${finalAttrs.version}"; hash = "sha256-6XfIaASfbvdPovtdDEJtsk4pEL4Dhmyq8ml4X7KZ4DE="; fetchSubmodules = true; }; buildInputs = with qt6; [ qtbase qtdeclarative qttools qtnetworkauth qtmultimedia ] ++ [ openssl libpulseaudio typescript nodejs ]; nativeBuildInputs = [ makeWrapper qt6.wrapQtAppsHook cmake ]; extraOutputsToLink = [ "doc" ]; preBuild = '' export HOME=$TMPDIR # the package.sh script provides some install helpers # using this might make it easier to maintain/less likely for the # install phase to fail across version bumps patchShebangs ../scripts/package.sh ''; postPatch = '' # ensure the script uses the rsync package from nixpkgs substituteInPlace ../scripts/package.sh --replace-fail "rsync" "${lib.getExe rsync}" # the npm build step only runs typescript # run this step directly so it doesn't try and fail to download the unnecessary node_modules, etc. substituteInPlace ./sites/CMakeLists.txt --replace-fail "npm install" "npm run build" # link the catch2 sources from nixpkgs ln -sf ${catch2.src} tests/src/ ''; postInstall = '' # move the binaries to the share/Grabber folder so # some relative links can be resolved (e.g. settings.ini) mv $out/bin/* $out/share/Grabber/ cd ../.. # run the package.sh with $out/share/Grabber as the $APP_DIR sh ./scripts/package.sh $out/share/Grabber # add symlinks for the binaries to $out/bin ln -s $out/share/Grabber/Grabber $out/bin/Grabber ln -s $out/share/Grabber/Grabber-cli $out/bin/Grabber-cli ''; sourceRoot = "${finalAttrs.src.name}/src"; meta = { description = "Very customizable imageboard/booru downloader with powerful filenaming features"; license = lib.licenses.asl20; homepage = "https://bionus.github.io/imgbrd-grabber/"; mainProgram = "Grabber"; maintainers = with lib.maintainers; [ evanjs luftmensch-luftmensch ]; }; }) </ins>

img2pdf = with python3Packages; toPythonApplication img2pdf; <del> imgbrd-grabber = qt5.callPackage ../applications/graphics/imgbrd-grabber { }; </del> imgcat = callPackage ../applications/graphics/imgcat { }; img-cat = callPackage ../applications/graphics/img-cat { };