[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70880] [PATCH v2 3/8] gnu: glfw-3.4: New variable.
From: |
Maxim Cournoyer |
Subject: |
[bug#70880] [PATCH v2 3/8] gnu: glfw-3.4: New variable. |
Date: |
Tue, 09 Jul 2024 22:11:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello,
"Artyom V. Poptsov" <poptsov.artyom@gmail.com> writes:
> * gnu/packages/gl.scm (glfw-3.4): New variable.
>
> Change-Id: I77f2214c78f35455436897a3fbff083331295314
> ---
> gnu/packages/gl.scm | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
> index f40ddaeb86..2d684e9c80 100644
> --- a/gnu/packages/gl.scm
> +++ b/gnu/packages/gl.scm
> @@ -995,6 +995,21 @@ (define-public glfw
> and surfaces, receiving input and events.")
> (license license:zlib)))
>
> +(define-public glfw-3.4
> + (package
> + (inherit glfw)
> + (version "3.4")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "https://github.com/glfw/glfw"
> + "/releases/download/" version
> + "/glfw-" version ".zip"))
> + (sha256
> + (base32
> + "1sd396kkn53myp61kxrd18h7b1q4ix173hhxhvl0iz8j4x5h1v5m"))))
> + (inputs (modify-inputs (package-inputs glfw)
> + (prepend pkg-config)))))
pkg-config should probably be in native-inputs, since it's used at build
time only.
--
Thanks,
Maxim