openscad-snapshot: 2023.08.25.ai16051 -> 2024.10.23.ai20994

This commit is contained in:
FliegendeWurst 2024-10-23 12:52:34 +02:00
parent 6ccd0bc0f7
commit 347f212a4f

View File

@ -1,11 +1,11 @@
{ lib, fetchurl, appimageTools, openscad, makeWrapper, makeDesktopItem }: { lib, fetchurl, appimageTools, openscad, makeDesktopItem }:
let let
pname = "openscad"; pname = "openscad";
version = "2023.08.25.ai16051"; version = "2024.10.23.ai20994";
src = fetchurl { src = fetchurl {
url = "https://files.openscad.org/snapshots/OpenSCAD-${version}-x86_64.AppImage"; url = "https://files.openscad.org/snapshots/OpenSCAD-${version}-x86_64.AppImage";
sha256 = "sha256-mEGmkL2lL7JxK0nRPLtnfg4vxtkK3URz351eyuRHZPE="; hash = "sha256-2iltY9JcyfCn6IvoSRBlZy3ugt8UWjchYp3B7nW8hMo=";
}; };
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
@ -26,10 +26,6 @@ appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraInstallCommands = '' extraInstallCommands = ''
source "${makeWrapper}/nix-support/setup-hook"
wrapProgram $out/bin/${pname}-${version} \
--unset QT_PLUGIN_PATH
mkdir -p $out/share mkdir -p $out/share
cp -rt $out/share ${desktopItem}/share/applications ${appimageContents}/usr/share/icons cp -rt $out/share ${desktopItem}/share/applications ${appimageContents}/usr/share/icons
''; '';