Subject: FreeCAD dependency probably outdated

From: Buttons Presser <[email-masked]>
Date: Mon, 08 Apr 2024 17:17:16 +0200

Bellow for the reference is the content of '/my/python-pivy.scm' that I used in 'guix build python-pivy --load-path=/my/python-pivy.scm' command:

   (define-module (guixmiss packages python)
     #:use-module ((guix licenses) #:prefix license:)
     #:use-module (gnu packages)
     #:use-module (guix packages)
     #:use-module (guix build-system cargo)
     #:use-module (guix build-system cmake)
     #:use-module (guix build-system gnu)
     #:use-module (guix build-system pyproject)
     #:use-module (guix build-system python)
     #:use-module (guix download)
     #:use-module (guix hg-download)
     #:use-module (guix git-download)
     #:use-module (guix gexp)
     #:use-module (guix utils)
     #:use-module (srfi srfi-1)
     #:use-module (srfi srfi-26))
   
   (define-public python-pivy
     (package
       (name "python-pivy")
       ;; (version "0.6.8")
       (version "0.6.9.a0")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/coin3d/pivy")
                (commit version)))
          (file-name (git-file-name name version))
          (sha256
           ;; (base32 "00l4r06dwmgn8h29nrl3g3yv33cfyizyylk28x1j95qyj36sggfb")         ;; (version "0.6.8")
           (base32 "13v9bfmipfhjbwnrl96d82fgb317j2sijgpzhhk02390649qbx6c")         ;; (version "0.6.9.a0")
           )
          ))
       ;; (build-system cmake-build-system)
       (build-system python-build-system)
       ;; (build-system pyproject-build-system)
       (arguments
        `(;; The test suite fails due to an import cycle between 'pivy' and '_coin'
          #:tests? #f
                   #:phases
                   (modify-phases %standard-phases
                     (add-after 'unpack 'patch-cmake-include-dirs
                       (lambda _
                         ;; Patch buildsystem to respect Coin3D include directory
                         (substitute* "interfaces/CMakeLists.txt"
                           (("\\$\\{SoQt_INCLUDE_DIRS}")
                            "${Coin_INCLUDE_DIR}\" -I\"${SoQt_INCLUDE_DIRS}"))
                         #t)))
                   ))
       (native-inputs
        (specifications->packages
         (list
          "cmake"
          "[email-masked]")))
       (inputs
        (specifications->packages
         (list "python-wrapper"
               "qtbase@5"
               "libxi"
               "libice"
               "soqt"
               "glew"
               "coin3D")))
       (home-page "https://github.com/coin3d/pivy")
       (synopsis "Python bindings to Coin3D")
       (description
        "Pivy provides python bindings for Coin, a 3D graphics library with an
   Application Programming Interface based on the Open Inventor 2.1 API.")
       (license license:isc)))