aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-09-28 16:53:48 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-10-07 01:20:21 +0900
commit283e24c05e55c502f082e85f2948e00f592a3994 (patch)
tree2f09f548c8f5d692e9642ff3ecbc96b807820fc1 /gnu
parent5f29a0cf21215beb317e8566941b27e2e40595f1 (diff)
downloadguix-283e24c05e55c502f082e85f2948e00f592a3994.tar
guix-283e24c05e55c502f082e85f2948e00f592a3994.tar.gz
gnu: Add retroarch-core-info.
* gnu/packages/emulators.scm (retroarch-core-info): New variable. Change-Id: I435c70673e1151bf300b9de2ea433abfe8508fbd
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emulators.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index b9bde23ce1..56ef97567e 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -112,6 +112,7 @@
#:use-module (gnu packages xorg)
#:use-module (gnu packages web)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system copy)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
@@ -1521,6 +1522,33 @@ as RetroArch.")
generate the various User Experience (UX) environments.")
(license license:cc-by4.0)))
+(define-public retroarch-core-info
+ ;; Use the latest commit, to get recent additions such as bsnes-jg.
+ (let ((commit "c0e7b76d02504754de67a1318f93089f1e29f15f")
+ (revision "0"))
+ (package
+ (name "retroarch-core-info")
+ (version (git-version "1.19.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libretro/libretro-core-info")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "11xpy3zhy2smp4a70fc0r1b76mvmjyabkaaipifsxm3j25drki5z"))))
+ (build-system copy-build-system)
+ (arguments
+ (list #:install-plan #~'(("." "lib/libretro/"
+ #:include-regexp ("\\.info$")))))
+ (home-page "https://github.com/libretro/libretro-core-info")
+ (synopsis "Libretro core info files")
+ (description "This is a versioned snapshot of the files containing
+metadata about each known libretro core. The snapshot is taken from the
+@url{https://github.com/libretro/libretro-super, libretro-super} repository.")
+ (license license:expat))))
+
(define-public retroarch
(package
(name "retroarch")