summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-04-23 14:24:12 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-04-29 14:37:01 +0200
commit1a8984536f899773738ec821975a5bb1ddbe693e (patch)
tree2929ebd97048b44e5a14ac8d72cf393709c59e00 /gnu/packages
parent6b99afeef89233b71d113a63cf04a6b4b49a4679 (diff)
downloadpatches-1a8984536f899773738ec821975a5bb1ddbe693e.tar
patches-1a8984536f899773738ec821975a5bb1ddbe693e.tar.gz
gnu: Add sdl2-net.
* gnu/packages/sdl.scm (sdl2-net): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/sdl.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 21f925937a..2e8cec8ffb 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -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")