Skip to content

Instantly share code, notes, and snippets.

@gtensha
Last active October 31, 2019 23:18
Show Gist options
  • Save gtensha/d42f34e5276e2267c086cc8bd5bb82b2 to your computer and use it in GitHub Desktop.
Save gtensha/d42f34e5276e2267c086cc8bd5bb82b2 to your computer and use it in GitHub Desktop.
CSFML package for Guix
(use-modules (guix packages)
(guix download)
(guix build-system cmake)
((guix licenses) #:prefix license:)
(gnu packages game-development)
(gnu packages compression))
(package
(name "csfml")
(version "2.5")
(source (origin
(method url-fetch)
(uri (string-append "https://www.sfml-dev.org/files/CSFML-"
version
"-sources.zip"))
(sha256
(base32
"1936rm72q93jfslw776nlhiblzq7qpf04j12dkknhmdids45vjcg"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f))
(inputs
`(("sfml" ,sfml)
("unzip" ,unzip)))
(synopsis "C bindings for SFML")
(description
"SFML provides a simple interface to the various computer components,
to ease the development of games and multimedia applications. It is composed
of five modules: system, window, graphics, audio and network.
This is the official C binding to the SFML libraries.")
(home-page "https://www.sfml-dev.org/download/csfml/")
(license license:zlib))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment