Merge pull request #294541 from atorres1985-contrib/freecad

freecad: refactor
This commit is contained in:
Weijia Wang 2024-03-09 21:08:55 +01:00 committed by GitHub
commit fa77fab079
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 30 additions and 40 deletions

View File

@ -1,14 +1,10 @@
{ lib
, fmt
, stdenv
, fetchFromGitHub
, cmake
, doxygen
, ninja
, gitpython
, boost
, coin3d
, doxygen
, eigen
, fetchFromGitHub
, fmt
, freecad # for passthru.tests
, gfortran
, gts
@ -17,38 +13,48 @@
, libXmu
, libf2c
, libredwg
, libsForQt5
, libspnav
, matplotlib
, medfile
, mpi
, ninja
, ode
, opencascade-occt
, pivy
, pkg-config
, ply
, pycollada
, pyside2
, pyside2-tools
, python
, pyyaml
, qtbase
, qttools
, qtwebengine
, qtx11extras
, qtxmlpatterns
, python3Packages
, runCommand # for passthru.tests
, scipy
, shiboken2
, soqt
, spaceNavSupport ? stdenv.isLinux
, stdenv
, swig
, vtk
, wrapQtAppsHook
, wrapGAppsHook
, xercesc
, zlib
}:
let
boost = python3Packages.boost;
inherit (libsForQt5)
qtbase
qttools
qtwebengine
qtx11extras
qtxmlpatterns
soqt
wrapQtAppsHook;
inherit (python3Packages)
gitpython
matplotlib
pivy
ply
pycollada
pyside2
pyside2-tools
python
pyyaml
scipy
shiboken2;
in
stdenv.mkDerivation (finalAttrs: {
pname = "freecad";
version = "0.21.2";

View File

@ -31641,22 +31641,6 @@ with pkgs;
fragments = callPackage ../applications/networking/p2p/fragments { };
freecad = libsForQt5.callPackage ../applications/graphics/freecad {
boost = python3Packages.boost;
inherit (python3Packages)
gitpython
matplotlib
pivy
ply
pycollada
pyside2
pyside2-tools
python
pyyaml
scipy
shiboken2;
};
freedv = callPackage ../applications/radio/freedv {
inherit (darwin.apple_sdk.frameworks) AppKit AVFoundation Cocoa CoreMedia;
codec2 = codec2.override {