mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: glad-0.1: Switch to pyproject.
* gnu/packages/gl.scm (glad-0.1): [build-system]: Switch to pyproject-build-system. [arguments]: Improve them. <#:tests?>: Disable them. [native-inputs]: Add python-setuptools. Change-Id: I3e2afc6238bd5d53af1104bd569e826a7759df3f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
b80126f1b6
commit
430bc7066a
1 changed files with 13 additions and 13 deletions
|
|
@ -212,26 +212,26 @@ Polygon meshes, and Extruded polygon meshes.")
|
||||||
(version "0.1.36")
|
(version "0.1.36")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; We fetch the sources from the repository since the PyPI archive
|
|
||||||
;; doesn't contain the CMakeLists.txt file which is useful for
|
|
||||||
;; integration with other software, such as the openboardview package.
|
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/Dav1dde/glad")
|
(url "https://github.com/Dav1dde/glad")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0m55ya1zrmg6n2cljkajy80ilmi5sblln8742fm0k1sw9k7hzn8n"))))
|
||||||
"0m55ya1zrmg6n2cljkajy80ilmi5sblln8742fm0k1sw9k7hzn8n"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list
|
||||||
#~(modify-phases %standard-phases
|
;; XXX: testing seems complex, see utility/compiletest.sh
|
||||||
(add-after 'install 'install-cmakelists.txt
|
#:tests? #f
|
||||||
(lambda _
|
#:phases
|
||||||
(let ((share (string-append #$output "/share/"
|
#~(modify-phases %standard-phases
|
||||||
#$(package-name this-package))))
|
(add-after 'install 'install-cmakelists.txt
|
||||||
(install-file "CMakeLists.txt" share)))))))
|
(lambda _
|
||||||
|
(let ((share (string-append #$output "/share/"
|
||||||
|
#$(package-name this-package))))
|
||||||
|
(install-file "CMakeLists.txt" share)))))))
|
||||||
|
(native-inputs (list python-setuptools))
|
||||||
(home-page "https://github.com/Dav1dde/glad")
|
(home-page "https://github.com/Dav1dde/glad")
|
||||||
(synopsis "Multi-language GL/GLES/EGL/GLX/WGL loader generator")
|
(synopsis "Multi-language GL/GLES/EGL/GLX/WGL loader generator")
|
||||||
(description "Glad uses the official Khronos XML specifications to
|
(description "Glad uses the official Khronos XML specifications to
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue