Skip to content

Commit

Permalink
openscad-snapshot: 2023.08.25.ai16051 -> 2024.10.23.ai20994
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst committed Oct 23, 2024
1 parent 6ccd0bc commit 347f212
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions pkgs/openscad-snapshot/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ lib, fetchurl, appimageTools, openscad, makeWrapper, makeDesktopItem }:
{ lib, fetchurl, appimageTools, openscad, makeDesktopItem }:

let
pname = "openscad";
version = "2023.08.25.ai16051";
version = "2024.10.23.ai20994";
src = fetchurl {
url = "https://files.openscad.org/snapshots/OpenSCAD-${version}-x86_64.AppImage";
sha256 = "sha256-mEGmkL2lL7JxK0nRPLtnfg4vxtkK3URz351eyuRHZPE=";
hash = "sha256-2iltY9JcyfCn6IvoSRBlZy3ugt8UWjchYp3B7nW8hMo=";
};

desktopItem = makeDesktopItem {
Expand All @@ -26,10 +26,6 @@ appimageTools.wrapType2 {
inherit pname version src;

extraInstallCommands = ''
source "${makeWrapper}/nix-support/setup-hook"
wrapProgram $out/bin/${pname}-${version} \
--unset QT_PLUGIN_PATH
mkdir -p $out/share
cp -rt $out/share ${desktopItem}/share/applications ${appimageContents}/usr/share/icons
'';
Expand Down

0 comments on commit 347f212

Please sign in to comment.