mirror of
https://github.com/FliegendeWurst/nur-packages.git
synced 2024-11-09 10:50:39 +00:00
openscad-snapshot: init at 2023.08.25.ai16051
last version with working offscreen rendering
This commit is contained in:
parent
42b33a813f
commit
de07d6262e
@ -17,6 +17,7 @@
|
|||||||
diskgraph = pkgs.callPackage ./pkgs/diskgraph { };
|
diskgraph = pkgs.callPackage ./pkgs/diskgraph { };
|
||||||
freqtop = pkgs.callPackage ./pkgs/freqtop { };
|
freqtop = pkgs.callPackage ./pkgs/freqtop { };
|
||||||
map = pkgs.callPackage ./pkgs/map { };
|
map = pkgs.callPackage ./pkgs/map { };
|
||||||
|
openscad-snapshot = pkgs.callPackage ./pkgs/openscad-snapshot { };
|
||||||
q = pkgs.callPackage ./pkgs/q { };
|
q = pkgs.callPackage ./pkgs/q { };
|
||||||
# TODO: fix dependency specification
|
# TODO: fix dependency specification
|
||||||
#raspi-oled = pkgs.callPackage ./pkgs/raspi-oled { };
|
#raspi-oled = pkgs.callPackage ./pkgs/raspi-oled { };
|
||||||
|
25
pkgs/openscad-snapshot/default.nix
Normal file
25
pkgs/openscad-snapshot/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ lib, fetchurl, appimageTools, openscad, makeWrapper }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "openscad";
|
||||||
|
version = "2023.08.25.ai16051";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://files.openscad.org/snapshots/OpenSCAD-${version}-x86_64.AppImage";
|
||||||
|
sha256 = "sha256-mEGmkL2lL7JxK0nRPLtnfg4vxtkK3URz351eyuRHZPE=";
|
||||||
|
};
|
||||||
|
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||||
|
in
|
||||||
|
appimageTools.wrapType2 {
|
||||||
|
inherit pname version src;
|
||||||
|
|
||||||
|
extraInstallCommands = ''
|
||||||
|
source "${makeWrapper}/nix-support/setup-hook"
|
||||||
|
wrapProgram $out/bin/${pname}-${version} \
|
||||||
|
--unset QT_PLUGIN_PATH
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
inherit (openscad.meta);
|
||||||
|
maintainers = with maintainers; [ fliegendewurst ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user