summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterramorpha <terramorpha@cock.li>2026-01-25 18:10:09 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-02-10 14:09:52 +0100
commit09fae4de71c09cdb2a811b08bbdda4425b38af09 (patch)
tree286e51125cd39d28da2e04961503df49228a0610
parentb0a1a0cbd78142952a7607e1482635fc812cdebd (diff)
gnu: Add sirit.
* gnu/packages/vulkan.scm (sirit): New variable. Change-Id: Ibab4db16cf3b0196958eafce161285a910afb32d Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/vulkan.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index ea7cdc3ef59..177b3b4bb71 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
+;;; Copyright © 2026 Justin Veilleux <terramorpha@cock.li>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -573,6 +574,28 @@ API.")
shader compilation.")
(license license:asl2.0)))
+(define-public sirit
+ (package
+ (name "sirit")
+ (version "1.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/eden-emulator/sirit/releases/download/v"
+ version "/sirit-source-" version ".tar.zst"))
+ (sha256
+ (base32 "1crp9663vl2bhr2ml4dm12prxra4w3la0jlz544k12aprzf9n0l7"))))
+ (build-system cmake-build-system)
+ (inputs
+ (list spirv-headers))
+ (synopsis "Runtime SPIR-V assembler")
+ (description "Sirit is a runtime SPIR-V assembler. It allows dynamic
+generation of SPIR-V shader code, handling declaration sorting, type and
+constant management, and opcode emission.")
+ (home-page "https://github.com/eden-emulator/sirit")
+ ;; Dual-licensed on top of being a fork of bsd-3 software.
+ (license (list license:agpl3+ license:gpl3+ license:bsd-3))))
+
(define-public vkd3d
(let ((commit "56cd4a94d541707959ce7677af6d1a34739e5579")) ; Release 1.2.
(package