removing yade as it raise error

This commit is contained in:
Jean-François GUILLAUME 2023-02-20 11:13:03 +01:00
parent 742bf8e26d
commit f80b291a80
GPG key ID: 38751DAE145EFB5A

View file

@ -49,87 +49,87 @@
(home-page "http://loki-lib.sourceforge.net/index.php?n=Main.HomePage") (home-page "http://loki-lib.sourceforge.net/index.php?n=Main.HomePage")
(license gpl3+))) (license gpl3+)))
(define-public yade ;(define-public yade
(package ; (package
(name "yade") ; (name "yade")
(version "2022.01a") ; (version "2022.01a")
(source (origin ; (source (origin
(method url-fetch) ; (method url-fetch)
(uri (string-append ; (uri (string-append
"https://gitlab.com/yade-dev/trunk/-/archive/2022.01a/trunk-" ; "https://gitlab.com/yade-dev/trunk/-/archive/2022.01a/trunk-"
version ".tar.gz")) ; version ".tar.gz"))
(sha256 ; (sha256
(base32 ; (base32
"0k4hnvi70cqzl0q54kkbij6jwxydhfwcacp9s49n3fkaf1dihxiv")))) ; "0k4hnvi70cqzl0q54kkbij6jwxydhfwcacp9s49n3fkaf1dihxiv"))))
(build-system cmake-build-system) ; (build-system cmake-build-system)
(arguments ; (arguments
`(#:configure-flags (list "-DENABLE_POTENTIAL_BLOCKS=OFF" ; `(#:configure-flags (list "-DENABLE_POTENTIAL_BLOCKS=OFF"
(string-append "-DCMAKE_INSTALL_PREFIX=" ; (string-append "-DCMAKE_INSTALL_PREFIX="
(assoc-ref %outputs "out")) ; (assoc-ref %outputs "out"))
(string-append "-DQGLVIEWER_INCLUDE_DIR=" ; (string-append "-DQGLVIEWER_INCLUDE_DIR="
(assoc-ref %build-inputs ; (assoc-ref %build-inputs
"libqglviewer"))) ; "libqglviewer")))
;; (string-append "-DQGLVIEWER_INCLUDE_DIR=" ; ;; (string-append "-DQGLVIEWER_INCLUDE_DIR="
;; libqglviewer)))) ; ;; libqglviewer))))
#:phases (modify-phases %standard-phases ; #:phases (modify-phases %standard-phases
(add-after 'unpack 'post-unpack ; (add-after 'unpack 'post-unpack
(lambda* (#:key outputs inputs #:allow-other-keys) ; (lambda* (#:key outputs inputs #:allow-other-keys)
(mkdir-p "./build") ; (mkdir-p "./build")
(chdir "./build"))) ; (chdir "./build")))
(replace 'configure ; (replace 'configure
(lambda* (#:key inputs outputs configure-flags ; (lambda* (#:key inputs outputs configure-flags
#:allow-other-keys) ; #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) ; (let ((out (assoc-ref outputs "out")))
(apply invoke "cmake" "../" configure-flags))))) ; (apply invoke "cmake" "../" configure-flags)))))
#:tests? #f)) ; #:tests? #f))
;; (lambda _ (invoke ; ;; (lambda _ (invoke
;; "cmake" "../trunk" ; ;; "cmake" "../trunk"
;; configure-flags)))))) ; ;; configure-flags))))))
(propagated-inputs `(("gdb" ,gdb) ; (propagated-inputs `(("gdb" ,gdb)
("sqlite" ,sqlite) ; ("sqlite" ,sqlite)
("openmpi" ,openmpi) ; ("openmpi" ,openmpi)
("python" ,python) ; ("python" ,python)
("python-numpy" ,python-numpy) ; ("python-numpy" ,python-numpy)
("python-matplotlib" ,python-matplotlib) ; ("python-matplotlib" ,python-matplotlib)
("python-sphinx" ,python-sphinx) ; ("python-sphinx" ,python-sphinx)
("python-ipython" ,python-ipython) ; ("python-ipython" ,python-ipython)
("python-mpi4py" ,python-mpi4py) ; ("python-mpi4py" ,python-mpi4py)
("python-mpmath" ,python-mpmath) ; ("python-mpmath" ,python-mpmath)
("python-pygraphviz" ,python-pygraphviz) ; ("python-pygraphviz" ,python-pygraphviz)
("python-xlib" ,python-xlib) ; ("python-xlib" ,python-xlib)
("python-future" ,python-future) ; ("python-future" ,python-future)
("python-pyqt" ,python-pyqt) ; ("python-pyqt" ,python-pyqt)
("python-pyqtwebengine" ,python-pyqtwebengine) ; ("python-pyqtwebengine" ,python-pyqtwebengine)
("python-qtpy" ,python-qtpy))) ; ("python-qtpy" ,python-qtpy)))
(inputs `(("boost" ,boost) ; (inputs `(("boost" ,boost)
("qtbase-5" ,qtbase-5) ; ("qtbase-5" ,qtbase-5)
;; ("qt" ,qt) ; ;; ("qt" ,qt)
("freeglut" ,freeglut) ; ("freeglut" ,freeglut)
("gts" ,gts) ; ("gts" ,gts)
("pkg-config" ,pkg-config) ; ("pkg-config" ,pkg-config)
("libqglviewer" ,libqglviewer) ; ("libqglviewer" ,libqglviewer)
("eigen" ,eigen) ; ("eigen" ,eigen)
;; ("loki" ,loki) ; ;; ("loki" ,loki)
;; ("vtk" ,vtk) ; ;; ("vtk" ,vtk)
("qtwebkit" ,qtwebkit) ; ("qtwebkit" ,qtwebkit)
("openblas" ,openblas) ; ("openblas" ,openblas)
("suitesparse" ,suitesparse) ; ("suitesparse" ,suitesparse)
("gcc-toolchain" ,gcc-toolchain) ; ("gcc-toolchain" ,gcc-toolchain)
("metis" ,metis) ; ("metis" ,metis)
("cgal" ,cgal) ; ("cgal" ,cgal)
("qtsvg" ,qtsvg) ; ("qtsvg" ,qtsvg)
("qtwebengine" ,qtwebengine) ; ("qtwebengine" ,qtwebengine)
("mpfr" ,mpfr))) ; ("mpfr" ,mpfr)))
;
(synopsis ; (synopsis
"Yade is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method.") ; "Yade is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method.")
(description ; (description
"Yade is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method. The computation parts are written in c++ using flexible object model, allowing independent implementation of new algorithms and interfaces. Python is used for rapid and concise scene construction, simulation control, postprocessing and debugging.") ; "Yade is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method. The computation parts are written in c++ using flexible object model, allowing independent implementation of new algorithms and interfaces. Python is used for rapid and concise scene construction, simulation control, postprocessing and debugging.")
(home-page "https://www.yade-dem.org/") ; (home-page "https://www.yade-dem.org/")
(license gpl3+))) ; (license gpl3+)))
;
(define-public yade-glicid-waves ;(define-public yade-glicid-waves
(package ; (package
(inherit (transform-package ((instead-of "openmpi-glicid-waves" openmpi) ; (inherit (transform-package ((instead-of "openmpi-glicid-waves" openmpi)
yade) "waves")) ; yade) "waves"))
(name "yade-glicid-waves"))) ; (name "yade-glicid-waves")))