Skip to content

Commit

Permalink
Merge pull request #126671 from cab404/super-slicer-2-3-56-4
Browse files Browse the repository at this point in the history
  • Loading branch information
lovesegfault committed Jun 14, 2021
2 parents 80babde + 5c86827 commit 44c5e2b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pkgs/applications/misc/prusa-slicer/super-slicer.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, fetchFromGitHub, makeDesktopItem, prusa-slicer }:
let
appname = "SuperSlicer";
version = "2.2.54.2";
version = "2.3.56.5";
pname = "super-slicer";
description = "PrusaSlicer fork with more features and faster development cycle";
override = super: {
Expand All @@ -10,20 +10,19 @@ let
src = fetchFromGitHub {
owner = "supermerill";
repo = "SuperSlicer";
sha256 = "sha256-ThmsxFXI1uReK+JwpHrIWzHpBdIOP77kDjv+QaK+Azk=";
sha256 = "sha256-Gg+LT1YKyUGNJE9XvWE1LSlIQ6Vq5GfVBTUw/A7Qx7E=";
rev = version;
fetchSubmodules = true;
};

# We don't need PS overrides anymore, and gcode-viewer is embedded in the binary.
postInstall = null;

# See https://github.com/supermerill/SuperSlicer/issues/432
cmakeFlags = super.cmakeFlags ++ [
"-DSLIC3R_BUILD_TESTS=0"
];

postInstall = ''
mkdir -p "$out/share/pixmaps/"
ln -s "$out/share/SuperSlicer/icons/Slic3r.png" "$out/share/pixmaps/${appname}.png"
'';

desktopItems = [
(makeDesktopItem {
name = appname;
Expand Down

0 comments on commit 44c5e2b

Please sign in to comment.