gnu: Add superfamiconv

* gnu/packages/graphics.scm (superfamiconv): New variable.
This commit is contained in:
Jakub Kądziołka 2020-03-14 13:02:23 +01:00
parent aebba13c0b
commit ce226e9d8d
No known key found for this signature in database
GPG key ID: E315A75846131564

View file

@ -18,6 +18,7 @@
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -1075,3 +1076,37 @@ (define-public coin3D
standard graphics library for 3D visualization and visual simulation
software in the scientific and engineering community.")
(license license:bsd-3))))
(define-public superfamiconv
(package
(name "superfamiconv")
(version "0.8.8")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Optiroc/SuperFamiconv")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0848szv6a2b8wdganh6mw5i8vn8cqvn1kbwzx7mb9wlrf5wzqn37"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no tests
#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((outdir (assoc-ref outputs "out"))
(bindir (string-append outdir "/bin")))
(install-file "bin/superfamiconv" bindir)
#t))))))
(home-page "https://github.com/Optiroc/SuperFamiconv")
(synopsis "Tile graphics converter supporting SNES, Game Boy Color
and PC Engine formats")
(description "SuperFamiconv is a converter for tiled graphics, supporting
the graphics formats of the SNES, Game Boy Color and PC Engine game consoles.
Automated palette selection is supported.")
(license license:expat)))