Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pkgs/by-name/fr/freecad/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This package supports the following parameters:

- withWayland (default: true): when false, set QT_QPA_PLATFORM to xcb
- spaceNavSupport (enabled by default on linux): whether to enable
[spacenavd support](https://spacenav.sourceforge.net/)
- ifcSupport (default: false): whether to enable ifc support through
ifcopenshell
5 changes: 5 additions & 0 deletions pkgs/by-name/fr/freecad/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
, pkg-config
, python311Packages
, spaceNavSupport ? stdenv.hostPlatform.isLinux
, ifcSupport ? false
, stdenv
, swig
, vtk
Expand All @@ -47,6 +48,7 @@ let
inherit (python311Packages)
boost
gitpython
ifcopenshell
matplotlib
pivy
ply
Expand Down Expand Up @@ -126,6 +128,9 @@ freecad-utils.makeCustomizable (stdenv.mkDerivation (finalAttrs: {
++ lib.optionals spaceNavSupport [
libspnav
qtx11extras
]
++ lib.optionals ifcSupport [
ifcopenshell
];

patches = [
Expand Down
2 changes: 2 additions & 0 deletions pkgs/by-name/fr/freecad/tests/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
callPackage,
freecad,
}:
{
python-path = callPackage ./python-path.nix { };
modules = callPackage ./modules.nix { };
withIfcSupport = freecad.override { ifcSupport = true; };
}