bambu-studio: nixfmt-for-rfc

This commit is contained in:
Kirill Radzikhovskyy 2024-04-24 06:20:24 +10:00
parent 4ca10a41c2
commit 133bd6a536

View File

@ -1,49 +1,50 @@
{ stdenv {
, lib stdenv,
, openexr lib,
, jemalloc openexr,
, c-blosc jemalloc,
, binutils c-blosc,
, fetchFromGitHub binutils,
, cmake fetchFromGitHub,
, pkg-config cmake,
, wrapGAppsHook pkg-config,
, boost179 wrapGAppsHook,
, cereal boost179,
, cgal_5 cereal,
, curl cgal_5,
, dbus curl,
, eigen dbus,
, expat eigen,
, gcc-unwrapped expat,
, glew gcc-unwrapped,
, glfw glew,
, glib glfw,
, glib-networking glib,
, gmp glib-networking,
, gstreamer gmp,
, gst-plugins-base gstreamer,
, gst-plugins-bad gst-plugins-base,
, gst-plugins-good gst-plugins-bad,
, gtest gst-plugins-good,
, gtk3 gtest,
, hicolor-icon-theme gtk3,
, ilmbase hicolor-icon-theme,
, libpng ilmbase,
, mesa libpng,
, mpfr mesa,
, nlopt mpfr,
, opencascade-occt nlopt,
, openvdb opencascade-occt,
, pcre openvdb,
, qhull pcre,
, systemd qhull,
, tbb_2021_11 systemd,
, webkitgtk tbb_2021_11,
, wxGTK31 webkitgtk,
, xorg wxGTK31,
, fetchpatch xorg,
, withSystemd ? stdenv.isLinux fetchpatch,
withSystemd ? stdenv.isLinux,
}: }:
let let
wxGTK31' = wxGTK31.overrideAttrs (old: { wxGTK31' = wxGTK31.overrideAttrs (old: {
@ -53,7 +54,14 @@ let
]; ];
}); });
openvdb_tbb_2021_8 = openvdb.overrideAttrs (old: rec { openvdb_tbb_2021_8 = openvdb.overrideAttrs (old: rec {
buildInputs = [ openexr boost179 tbb_2021_11 jemalloc c-blosc ilmbase ]; buildInputs = [
openexr
boost179
tbb_2021_11
jemalloc
c-blosc
ilmbase
];
}); });
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -106,9 +114,7 @@ stdenv.mkDerivation rec {
webkitgtk webkitgtk
wxGTK31' wxGTK31'
xorg.libX11 xorg.libX11
] ++ lib.optionals withSystemd [ ] ++ lib.optionals withSystemd [ systemd ] ++ checkInputs;
systemd
] ++ checkInputs;
patches = [ patches = [
# Fix for webkitgtk linking # Fix for webkitgtk linking