hopefully fix issue with termenv package

This commit is contained in:
Vivianne 2024-03-04 18:41:58 -05:00
parent b960c7bfe9
commit dbe585cc7c
Signed by: vv
GPG key ID: F3E249EDFAC7BE26

View file

@ -0,0 +1,51 @@
(define-module (uniseg-package)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages texinfo)
#:use-module (guix build-system gnu)
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (srfi srfi-1))
(define-public guile-uniseg
(package
(name "guile-uniseg")
(version "0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.solarpunk.moe/solarpunk-guile/guile-uniseg.git")
(commit "v0.1")))
(sha256
(base32
"01capcnw3khqcymh1r4wxlm6sml4wfn9lv30nplk8fwc60pyb4d8"))))
(build-system gnu-build-system)
(arguments
(list
#:make-flags
#~(list "GUILE_AUTO_COMPILE=0")
#:phases
#~(modify-phases %standard-phases
(add-before 'bootstrap 'hall
(lambda _
(system* "hall" "build" "-x")))
(replace 'bootstrap
(lambda _
(system* "autoreconf" "-vif"))))))
(native-inputs (list autoconf
automake
guile-hall
pkg-config
texinfo))
(inputs (list guile-3.0))
(synopsis "Guile library for utf-8 rune widths")
(description
"A library that provides guile character sets and operations to work with runes that are more than a single character width.")
(home-page "https://git.solarpunk.moe/solarpunk-guile/guile-uniseg")
(license license:gpl3+)))