mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
openscad: not using qt5 and libsForQt5 directly
Additional fix to #65522.
This commit is contained in:
parent
4ed879d97c
commit
71a76ff6a2
@ -1,7 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, qt5, libsForQt5
|
||||
, bison, flex, eigen, boost, libGLU_combined, glew, opencsg, cgal
|
||||
, mpfr, gmp, glib, pkgconfig, harfbuzz, gettext, freetype, fontconfig
|
||||
, double-conversion, lib3mf, libzip, mkDerivation
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, qtbase
|
||||
, qtmultimedia
|
||||
, qscintilla
|
||||
, bison
|
||||
, flex
|
||||
, eigen
|
||||
, boost
|
||||
, libGLU_combined
|
||||
, glew
|
||||
, opencsg
|
||||
, cgal
|
||||
, mpfr
|
||||
, gmp
|
||||
, glib
|
||||
, pkgconfig
|
||||
, harfbuzz
|
||||
, gettext
|
||||
, freetype
|
||||
, fontconfig
|
||||
, double-conversion
|
||||
, lib3mf
|
||||
, libzip
|
||||
, mkDerivation
|
||||
, qtmacextras
|
||||
, qmake
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
@ -15,14 +38,14 @@ mkDerivation rec {
|
||||
sha256 = "1qz384jqgk75zxk7sqd22ma9pyd94kh4h6a207ldx7p9rny6vc5l";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ bison flex pkgconfig gettext qt5.qmake ];
|
||||
nativeBuildInputs = [ bison flex pkgconfig gettext qmake ];
|
||||
|
||||
buildInputs = [
|
||||
eigen boost glew opencsg cgal mpfr gmp glib
|
||||
harfbuzz lib3mf libzip double-conversion freetype fontconfig
|
||||
qtbase qtmultimedia qscintilla
|
||||
] ++ stdenv.lib.optional stdenv.isLinux libGLU_combined
|
||||
++ (with qt5; [qtbase qtmultimedia] ++ stdenv.lib.optional stdenv.isDarwin qtmacextras)
|
||||
++ (with libsForQt5; [qscintilla])
|
||||
++ stdenv.lib.optional stdenv.isDarwin qtmacextras
|
||||
;
|
||||
|
||||
qmakeFlags = [ "VERSION=${version}" ];
|
||||
|
@ -19672,7 +19672,7 @@ in
|
||||
|
||||
openorienteering-mapper = libsForQt5.callPackage ../applications/gis/openorienteering-mapper { };
|
||||
|
||||
openscad = qt5.callPackage ../applications/graphics/openscad {};
|
||||
openscad = libsForQt5.callPackage ../applications/graphics/openscad {};
|
||||
|
||||
opentimestamps-client = python3Packages.callPackage ../tools/misc/opentimestamps-client {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user