Reorganize to be more guixy, thanks takev

This commit is contained in:
Vivianne 2024-03-04 18:59:09 -05:00
parent dbe585cc7c
commit 51f58e4ff6
Signed by: vv
GPG Key ID: F3E249EDFAC7BE26
2 changed files with 39 additions and 52 deletions

View File

@ -1,51 +0,0 @@
(define-module (termenv-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-termenv
(package
(name "guile-termenv")
(version "0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.solarpunk.moe/solarpunk-guile/guile-termenv.git")
(commit "v0.1")))
(sha256
(base32
"1cs5vs3inc2a43hijgw9krg0a10v060hmdynkmrzm4kbnig5qraw"))))
(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 port of termenv")
(description
"A library to provide easy control of terminals from Guile using terminal control codes.")
(home-page "https://git.solarpunk.moe/solarpunk-guile/guile-termenv")
(license license:gpl3+)))

View File

@ -1,4 +1,4 @@
(define-module (uniseg-package)
(define-module (solarpunk packages guile)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages guile)
@ -12,6 +12,44 @@
#:use-module (guix packages)
#:use-module (srfi srfi-1))
(define-public guile-termenv
(package
(name "s")
(version "0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.solarpunk.moe/solarpunk-guile/guile-termenv.git")
(commit "v0.1")))
(sha256
(base32
"1cs5vs3inc2a43hijgw9krg0a10v060hmdynkmrzm4kbnig5qraw"))))
(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 port of termenv")
(description
"A library to provide easy control of terminals from Guile using terminal control codes.")
(home-page "https://git.solarpunk.moe/solarpunk-guile/guile-termenv")
(license license:gpl3+)))
(define-public guile-uniseg
(package
(name "guile-uniseg")