From 09fae4de71c09cdb2a811b08bbdda4425b38af09 Mon Sep 17 00:00:00 2001 From: terramorpha Date: Sun, 25 Jan 2026 18:10:09 -0500 Subject: [PATCH] gnu: Add sirit. * gnu/packages/vulkan.scm (sirit): New variable. Change-Id: Ibab4db16cf3b0196958eafce161285a910afb32d Signed-off-by: Liliana Marie Prikler --- gnu/packages/vulkan.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index ea7cdc3ef5..177b3b4bb7 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2025 John Kehayias ;;; Copyright © 2025 Maxim Cournoyer ;;; Copyright © 2025 Cayetano Santos +;;; Copyright © 2026 Justin Veilleux ;;; ;;; 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