guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit a3439685467e755bf3b4626559e13127a6bc6c8c
Author: Andy Tai <[email protected]>
AuthorDate: Fri Feb 6 23:32:18 2026 -0800

    gnu: Add angelscript.
    
    * gnu/packages/game-development.scm (angelscript): New variable.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/game-development.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index 685896fbf2..ba2f460cff 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -24,7 +24,7 @@
 ;;; Copyright © 2021 Dmitry Polyakov <[email protected]>
 ;;; Copyright © 2020-2022, 2024-2025 James Smith <[email protected]>
 ;;; Copyright © 2021 Ekaitz Zarraga <[email protected]>
-;;; Copyright © 2021 Andy Tai <[email protected]>
+;;; Copyright © 2021, 2026 Andy Tai <[email protected]>
 ;;; Copyright © 2022 Felix Gruber <[email protected]>
 ;;; Copyright © 2022 Jai Vetrivelan <[email protected]>
 ;;; Copyright © 2022 dan <[email protected]>
@@ -4129,6 +4129,41 @@ calculations and create complete applications.")
 @uref{https://www.shlomifish.org/, Shlomi Fish's} projects.")
       (license license:expat))))
 
+(define-public angelscript
+  (package
+    (name "angelscript")
+    (version "2.38.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://www.angelcode.com/angelscript/sdk/files/angelscript_";
+             version ".zip"))
+       (sha256
+        (base32 "0vrflpmj3ldfq96js45czkk4r6266bc570v2gpv7wc8hvay5sfxk"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:tests? #f ;there are no tests
+      #:configure-flags
+      #~(list "-DBUILD_SHARED_LIBS=true")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'chdir
+            (lambda _
+              (chdir "angelscript/projects/cmake"))))))
+    (native-inputs (list unzip))
+    (home-page "https://www.angelcode.com/angelscript/";)
+    (synopsis "Flexible cross-platform scripting library")
+    (description
+     "AngelScript is a scripting library designed to allow applications to
+extend their functionality through external scripts.  It can call standard C
+functions and C++ methods with little to no need for proxy functions.
+The application registers the functions, objects, and methods that the scripts
+work with.  The same functions used by the application internally can be used
+by the scripting engine, eliminating the need to duplicate functionality.")
+    (license license:zlib)))
+
 (define-public rinutils
   (package
     (name "rinutils")

Reply via email to