me
/
guix
Archived
1
0
Fork 0

gnu: Add sdl2-net.

* gnu/packages/sdl.scm (sdl2-net): New variable.
master
Nicolas Goaziou 2019-04-23 14:24:12 +02:00
parent 6b99afeef8
commit 1a8984536f
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 17 additions and 0 deletions

View File

@ -8,6 +8,7 @@
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -403,6 +404,22 @@ directory.")
(propagated-inputs
(propagated-inputs-with-sdl2 sdl-mixer))))
(define-public sdl2-net
(package (inherit sdl-net)
(name "sdl2-net")
(version "2.0.1")
(source
(origin
(method url-fetch)
(uri
(string-append "http://www.libsdl.org/projects/SDL_net/release/"
"SDL2_net-" version ".tar.gz"))
(sha256
(base32
"08cxc1bicmyk89kiks7izw1rlx5ng5n6xpy8fy0zxni3b9z8mkhm"))))
(propagated-inputs
(propagated-inputs-with-sdl2 sdl-net))))
(define-public sdl2-ttf
(package (inherit sdl-ttf)
(name "sdl2-ttf")