gnu: Add glm.

* gnu/packages/maths.scm (glm): New variable.

Co-authored-by: John Darrington <john@darrington.wattle.id.au>
This commit is contained in:
Andreas Enge 2015-03-14 17:36:07 +01:00
parent 1842a7cbc7
commit c12efc72cf

View file

@ -66,7 +66,8 @@ (define-module (gnu packages maths)
#:use-module (gnu packages tcl) #:use-module (gnu packages tcl)
#:use-module (gnu packages texinfo) #:use-module (gnu packages texinfo)
#:use-module (gnu packages texlive) #:use-module (gnu packages texlive)
#:use-module (gnu packages xml)) #:use-module (gnu packages xml)
#:use-module (gnu packages zip))
(define-public units (define-public units
(package (package
@ -1193,3 +1194,25 @@ (define-public atlas
where N is the number of cores of your CPU. Failure to do so will result in a where N is the number of cores of your CPU. Failure to do so will result in a
library with poor performance.") library with poor performance.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public glm
(package
(name "glm")
(version "0.9.6.3")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/ogl-math/glm-"
version ".zip"))
(sha256
(base32
"1cnjmi033a16a95v6xfkr1bvfmkd26hzdjka8j1819hgn5b1nr8l"))))
(build-system cmake-build-system)
(native-inputs
`(("unzip" ,unzip)))
(home-page "http://glm.g-truc.net")
(synopsis "OpenGL Mathematics library")
(description "OpenGL Mathematics (GLM) is a header-only C++ mathematics
library for graphics software based on the OpenGL Shading Language (GLSL)
specifications.")
(license license:expat)))