git.iko.soy/typeable/nixpkgs
on master help sign in
super-slicer.stable: 2.3.56.8 -> 2.3.56.9 (#136962)

* super-slicer.stable: 2.3.56.8 -> 2.3.56.9 super-slicer.staging: init at 2.3.57.0 * Update pkgs/applications/misc/prusa-slicer/super-slicer.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

commit273cf4f45ac4f2df7c6ebb2d8c0ec05a646af078 authorVladimir Serov <me@cab404.ru> dateThu 23 Sep 2021, 14:06 (5 years ago) parent1413535
2 files changed+16−5
pkgs/applications/misc/prusa-slicer/super-slicer.nix+14−5 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/prusa-slicer/super-slicer.nix+14−5
@@ -1,23 +1,27 @@
11{ lib, fetchFromGitHub, makeDesktopItem, prusa-slicer }:
22let
33 appname = "SuperSlicer";
4− version = "2.3.56.8";
54 pname = "super-slicer";
65 description = "PrusaSlicer fork with more features and faster development cycle";
7− override = super: {
6+
7+ versions = {
8+ stable = { version = "2.3.56.9"; sha256 = "sha256-vv01wGQkrasKKjpGSDeDqZbd1X5/iTfGXYN5Jwz+FKE="; };
9+ staging = { version = "2.3.57.0"; sha256 = "sha256-7o0AqgQcKYc6c+Hi3x5pC/pKJZPlEsYOYk9sC21+mvM="; };
10+ };
11+
12+ override = { version, sha256 }: super: {
813 inherit version pname;
914
1015 src = fetchFromGitHub {
1116 owner = "supermerill";
1217 repo = "SuperSlicer";
13− sha256 = "sha256-em0OgrcPaV2VYM8DpvtVJjgdojStMF/ROUEtZ8iLZfo=";
18+ inherit sha256;
1419 rev = version;
1520 fetchSubmodules = true;
1621 };
1722
1823 # We don't need PS overrides anymore, and gcode-viewer is embedded in the binary.
1924 postInstall = null;
20− dontStrip = true;
2125 separateDebugInfo = true;
2226
2327 # See https://github.com/supermerill/SuperSlicer/issues/432
@@ -44,5 +48,10 @@ let
4448 maintainers = with maintainers; [ cab404 moredread ];
4549 };
4650
51+ passthru = allVersions;
52+
4753 };
48−in prusa-slicer.overrideAttrs override
54+
55+ allVersions = builtins.mapAttrs (_name: version: (prusa-slicer.overrideAttrs (override version))) versions;
56+in
57+allVersions.stable
pkgs/top-level/all-packages.nix+2
@@ -27373,6 +27373,8 @@ with pkgs;
2737327373
2737427374 super-slicer = callPackage ../applications/misc/prusa-slicer/super-slicer.nix { };
2737527375
27376+ super-slicer-staging = (callPackage ../applications/misc/prusa-slicer/super-slicer.nix { }).staging;
27377+
2737627378 robustirc-bridge = callPackage ../servers/irc/robustirc-bridge { };
2737727379
2737827380 skrooge = libsForQt5.callPackage ../applications/office/skrooge {};