gnu: opencsg: Ran guix style.

* gnu/packages/graphics.scm (opencsg): Reformat.

Change-Id: Id59101442badbf8206d536b9c0124ba763ae26ff
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
nomike 2025-06-02 04:45:51 +02:00 committed by Danny Milosavljevic
parent f0657cef97
commit a3ce628dd3
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -2209,7 +2209,8 @@ and GPU architectures.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public opencsg (define-public opencsg
(let ((dot-to-dash (lambda (c) (if (char=? c #\.) #\- c)))) (let ((dot-to-dash (lambda (c)
(if (char=? c #\.) #\- c))))
(package (package
(name "opencsg") (name "opencsg")
(version "1.8.1") (version "1.8.1")
@ -2223,15 +2224,13 @@ and GPU architectures.")
"-release")))) "-release"))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0q19mswyjlampdssqgik4q7j08fbj0dhxdr9mzg0i7ma2b2rhdhw"))))
"0q19mswyjlampdssqgik4q7j08fbj0dhxdr9mzg0i7ma2b2rhdhw"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
;; library has no tests ;; library has no tests
(delete 'check)))) (delete 'check))))
(inputs (inputs (list glew freeglut))
(list glew freeglut))
(synopsis "Library for rendering Constructive Solid Geometry (CSG)") (synopsis "Library for rendering Constructive Solid Geometry (CSG)")
(description (description
"OpenCSG is a library for rendering Constructive Solid Geometry (CSG) using "OpenCSG is a library for rendering Constructive Solid Geometry (CSG) using