Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase to latest master (2023-11-11), bump bambu-studio and begin aligning with prusa-slicer/default.nix #2

Closed
wants to merge 13 commits into from
15 changes: 10 additions & 5 deletions pkgs/applications/misc/bambu-studio/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{ stdenv
, lib
, openexr
, jemalloc
, c-blosc
, binutils
, fetchFromGitHub
, cmake
Expand Down Expand Up @@ -33,13 +36,12 @@
, openvdb
, pcre
, qhull
, systemd
, tbb_2021_8
, webkitgtk
, wxGTK31
, xorg
, fetchpatch
, withSystemd ? stdenv.isLinux
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
}:
let
wxGTK31' = wxGTK31.overrideAttrs (old: {
Expand All @@ -48,16 +50,19 @@ let
"--enable-debug=no"
];
});
openvdb_tbb_2021_8 = openvdb.overrideAttrs (old: rec {
buildInputs = [ openexr boost tbb_2021_8 jemalloc c-blosc ilmbase ];
});
in
stdenv.mkDerivation rec {
pname = "bambu-studio";
version = "01.07.06.92";
version = "01.08.00.57";

src = fetchFromGitHub {
owner = "bambulab";
repo = "BambuStudio";
rev = "v${version}";
hash = "sha256-6GpPBVPXPcdZ/YvG1RNaBS1DMNp7nbRH5IP1/Z4CJCc=";
hash = "sha256-yqn6248kdsxnVBevOca3LKZKicBF8cU+e/G5ynZK86k=";
};

nativeBuildInputs = [
Expand Down Expand Up @@ -92,7 +97,7 @@ stdenv.mkDerivation rec {
mpfr
nlopt
opencascade-occt
openvdb
openvdb_tbb_2021_8
pcre
tbb_2021_8
webkitgtk
Expand Down