Add Guix package scheme

This commit is contained in:
Pradana AUMARS 2021-06-29 19:42:27 +02:00
parent b008b6c73b
commit 0370ce68cf

35
pong.scm Normal file
View File

@ -0,0 +1,35 @@
(use-modules (guix packages)
(guix download)
(guix build-system gnu)
(guix licenses)
(gnu packages sdl)
(gnu packages fontutils)
(gnu packages fonts)
(gnu packages autotools)
(gnu packages pkg-config))
(package
(name "pong")
(version "0.1-alpha")
(source (origin
(method url-fetch)
(uri (string-append "https://forge.chapril.org/pradana.aumars/pong/archive/" version
".tar.gz"))
(sha256
(base32
"0wcwbaw51bj865fhhc55zz433zgskchjsw63nxa2zskj1ww0xfsj"))))
(build-system gnu-build-system)
(inputs
`(("sdl2" ,sdl2)
("sdl2-ttf" ,sdl2-ttf)
("fontconfig" ,fontconfig)
("font-liberation" ,font-liberation)))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)))
(synopsis "Implementation of Pong")
(description
"This is a basic implementation of Pong. It's not very good.")
(home-page "https://forge.chapril.org/pradana.aumars/pong")
(license gpl3))