gnu: Add go-sixel.

* gnu/packages/golang-xyz.scm (go-sixel): New variable.

Change-Id: Ibf4dce9f2b98b7fb046b663e26a752d616ad670b
This commit is contained in:
Sharlatan Hellseher 2024-12-15 17:49:16 +00:00
parent d371b14b06
commit 93bb9b39f3
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -10962,6 +10962,44 @@ go-github-com-orisano-pixelmatch source.")))
" This package provides an command line interface (CLI)
tool."))))
(define-public go-sixel
(package
(inherit go-github-com-mattn-go-sixel)
(name "go-sixel")
(arguments
(list
#:tests? #f ; tested in the library
#:install-source? #f
#:unpack-path "github.com/mattn/go-sixel"
#:phases
#~(modify-phases %standard-phases
(replace 'build
(lambda arguments
(for-each
(lambda (cmd)
(apply (assoc-ref %standard-phases 'build)
`(,@arguments #:import-path ,cmd)))
(list "github.com/mattn/go-sixel/cmd/goscat"
"github.com/mattn/go-sixel/cmd/gosd"
"github.com/mattn/go-sixel/cmd/gosgif"
"github.com/mattn/go-sixel/cmd/gosl"
"github.com/mattn/go-sixel/cmd/gosr"))))
(replace 'install
(lambda arguments
(for-each
(lambda (cmd)
(apply (assoc-ref %standard-phases 'install)
`(,@arguments #:import-path ,cmd)))
(list "github.com/mattn/go-sixel/cmd/goscat"
"github.com/mattn/go-sixel/cmd/gosd"
"github.com/mattn/go-sixel/cmd/gosgif"
"github.com/mattn/go-sixel/cmd/gosl"
"github.com/mattn/go-sixel/cmd/gosr")))))))
(description
(string-append (package-description go-github-com-mattn-go-sixel)
" This package provides an command line interface (CLI)
tools."))))
(define-public go-tengo
(package
(inherit go-github-com-d5-tengo-v2)