Change:
Package name: lunacy Latest released version: 9.6.2 <!-- Search your package here: --- Current version on the unstable channel: 9.6.1 Current version on the stable/release channel: 9.6.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. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
<del> { stdenv , lib , fetchurl , dpkg , autoPatchelfHook , zlib , libgcc , fontconfig , libX11 , lttng-ust , icu , libICE , libSM , libXcursor , openssl , imagemagick , makeWrapper </del> <ins> { stdenv, lib, fetchurl, dpkg, autoPatchelfHook, zlib, libgcc, fontconfig, libX11, lttng-ust, icu, libICE, libSM, libXcursor, openssl, imagemagick, makeWrapper, </ins> }: stdenv.mkDerivation (finalAttrs: { pname = "lunacy"; <del> version = "9.6.1"; </del> <ins> version = "9.6.2"; </ins> src = fetchurl { url = "https://lcdn.icons8.com/setup/Lunacy_${finalAttrs.version}.deb"; <del> hash = "sha256-w7qw5HyJcEjeujz54bTkkofmzacIBLYqJvVuldvbytE="; </del> <ins> hash = "sha256-iTne+vUnv+O/+QUKgSUr+ACdZpXrvRQkZmqghJH1fDw="; </ins> }; unpackCmd = ''

]; # adds to the RPATHS of all shared objects (exe and libs) <del> appendRunpaths = map (pkg: (lib.getLib pkg) + "/lib") [ icu openssl stdenv.cc.libc stdenv.cc.cc ] ++ [ # technically, this should be in runtimeDependencies but will not work as # "lib" is appended to all elements in the array "${placeholder "out"}/lib/lunacy" ]; </del> <ins> appendRunpaths = map (pkg: (lib.getLib pkg) + "/lib") [ icu openssl stdenv.cc.libc stdenv.cc.cc ] ++ [ # technically, this should be in runtimeDependencies but will not work as # "lib" is appended to all elements in the array "${placeholder "out"}/lib/lunacy" ]; </ins> # will add to the RPATH of executable only runtimeDependencies = [

postInstall = '' substituteInPlace $out/share/applications/lunacy.desktop  <del> --replace "Exec=/opt/icons8/lunacy/Lunacy" "Exec=lunacy"  --replace "Icon=/opt/icons8/lunacy/Assets/LunacyLogo.png" "Icon=lunacy" </del> <ins> --replace-fail "Exec=/opt/icons8/lunacy/Lunacy" "Exec=lunacy"  --replace-fail "Icon=/opt/icons8/lunacy/Assets/LunacyLogo.png" "Icon=lunacy" </ins> ''; postFixup = ''

makeWrapper "$out/lib/lunacy/Lunacy" "$out/bin/lunacy" ''; <del> meta = with lib; { </del> <ins> meta = { </ins> description = "Free design software that keeps your flow with AI tools and built-in graphics"; homepage = "https://icons8.com/lunacy"; changelog = "https://lunacy.docs.icons8.com/release-notes/"; <del> license = licenses.unfree; maintainers = [ maintainers.eliandoran ]; platforms = platforms.linux; sourceProvenance = [ sourceTypes.binaryBytecode ]; </del> <ins> license = lib.licenses.unfree; maintainers = with lib.maintainers; [ eliandoran luftmensch-luftmensch ]; platforms = lib.platforms.linux; sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; </ins> mainProgram = "lunacy"; }; })