From 0c6225f66f73771fcbcf443ba8fca0725bbaf65a Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Fri, 7 Nov 2025 07:50:25 -0500 Subject: [PATCH] gnu: Add rinutils. * gnu/packages/game-development.scm (rinutils): New variable. Change-Id: I9fc8d2aeeacb9095885e24f4c367d9ce9f4a2041 Signed-off-by: Liliana Marie Prikler --- gnu/packages/game-development.scm | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index ffe1ef845c..d7fdb6fe74 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -121,6 +121,7 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) #:use-module (gnu packages pcre) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pretty-print) #:use-module (gnu packages pulseaudio) @@ -4036,3 +4037,34 @@ calculations and create complete applications.") "This repository contains CMake modules which are used across @uref{https://www.shlomifish.org/, Shlomi Fish's} projects.") (license license:expat)))) + +(define-public rinutils + (package + (name "rinutils") + (version "0.10.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shlomif/rinutils") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0iziwblw3jnvj31pis86x5lvykywfsx6w7a4019zn34p1i4id8js")))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list (string-append "-DCMAKE_MODULE_PATH=" + #+shlomif-cmake-modules "/share/shlomi-fish/cmake") + (string-append "-DSHLOMIF_SYSTEM_INSTALL_DIR=" + #+shlomif-cmake-modules "/share/shlomi-fish/cmake")) + #:tests? #f)) ;No tests + (native-inputs (list shlomif-cmake-modules pkg-config perl)) + (home-page "https://github.com/shlomif/rinutils") + (synopsis "Collection of C headers") + (description + "Rinutils is a set of C headers containing macros and static +functions that have been extracted from @uref{https://www.shlomifish.org/, +Shlomi Fish's} projects.") + (license license:expat)))