mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add sdl2-net.
* gnu/packages/sdl.scm (sdl2-net): New variable.
This commit is contained in:
parent
6b99afeef8
commit
1a8984536f
1 changed files with 17 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net>
|
;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net>
|
||||||
|
;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -403,6 +404,22 @@ (define-public sdl2-mixer
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(propagated-inputs-with-sdl2 sdl-mixer))))
|
(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
|
(define-public sdl2-ttf
|
||||||
(package (inherit sdl-ttf)
|
(package (inherit sdl-ttf)
|
||||||
(name "sdl2-ttf")
|
(name "sdl2-ttf")
|
||||||
|
|
Loading…
Reference in a new issue