From 0ad13c7361bd24ae1a1eabac07beea36e77d4b11 Mon Sep 17 00:00:00 2001 From: Lilah Tascheter Date: Mon, 3 Nov 2025 17:13:53 -0600 Subject: [PATCH] gnu: hare-xyz: Add hare-adwaita. * gnu/packages/hare-xyz (hare-adwaita): New variable. Change-Id: Ifc2a397dec1e8a9fb9e750182e1a5aa34cfe6f9a Signed-off-by: jgart --- gnu/packages/hare-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/hare-xyz.scm b/gnu/packages/hare-xyz.scm index 1f55bcef7c4d2a6592c8a6c7303ed1a448cc017b..5a96b0209208ec52034787063cc2f655c47d855b 100644 --- a/gnu/packages/hare-xyz.scm +++ b/gnu/packages/hare-xyz.scm @@ -96,3 +96,35 @@ GObject Introspection development files. This package includes both the binding generator binary, as well as bindings for several common libraries, including GTK3, GTK4, and GLib.") (license license:mpl2.0))) + +(define-public hare-adwaita + (package + (name "hare-adwaita") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~sircmpwn/hare-adwaita") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07j204v0dml967jz0mfdz9d37dm86qhfgpprn66nagpphq3fay8k")))) + (build-system hare-build-system) + (arguments + (list #:tests? #f ; no tests + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'patch-scripts + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "scripts/generate" + (("/usr/(share/gir-1.0/[^ ]*\\.gir)" _ name) + (search-input-file inputs name)))))))) + (propagated-inputs (list libadwaita)) + (native-inputs `((,hare-gi "bin"))) + (supported-systems %hare-supported-systems) + (home-page "https://git.sr.ht/~sircmpwn/hare-adwaita") + (synopsis "Adwaita bindings for Hare") + (description "This package is a set of libadwaita bindings for the Hare +language.") + (license license:mpl2.0)))