mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 02:50:45 +02:00
gnu: Add go-porter2.
* gnu/packages/golang-xyz.scm (go-porter2): New variable. Change-Id: Ie0dd95b5efaee5716245da7e6c46577c8620f9ad
This commit is contained in:
parent
be17092eba
commit
82ffd10e3e
1 changed files with 40 additions and 0 deletions
|
@ -16579,6 +16579,46 @@ go-github-com-tklauser-numcpus source.")))
|
|||
"This package provides a CLI build from the
|
||||
go-github-com-orisano-pixelmatch source.")))
|
||||
|
||||
(define-public go-porter2
|
||||
(package
|
||||
(inherit go-github-com-surgebase-porter2)
|
||||
(name "go-porter2")
|
||||
(arguments
|
||||
(substitute-keyword-arguments
|
||||
(package-arguments go-github-com-surgebase-porter2)
|
||||
((#:tests? _ #t) #f)
|
||||
((#:install-source? _ #t) #f)
|
||||
((#:unpack-path _) "github.com/surgebase/porter2")
|
||||
((#:phases phases '%standard-phases)
|
||||
#~(modify-phases #$phases
|
||||
(replace 'build
|
||||
(lambda arguments
|
||||
(for-each
|
||||
(lambda (cmd)
|
||||
(apply (assoc-ref %standard-phases 'build)
|
||||
`(,@arguments #:import-path ,cmd)))
|
||||
(list "github.com/surgebase/porter2/cmd/compare"
|
||||
"github.com/surgebase/porter2/cmd/suffixfsm"
|
||||
"github.com/surgebase/porter2/cmd/switchvsmap"))))
|
||||
(replace 'install
|
||||
(lambda arguments
|
||||
(for-each
|
||||
(lambda (cmd)
|
||||
(apply (assoc-ref %standard-phases 'install)
|
||||
`(,@arguments #:import-path ,cmd)))
|
||||
(list "github.com/surgebase/porter2/cmd/compare"
|
||||
"github.com/surgebase/porter2/cmd/suffixfsm"
|
||||
"github.com/surgebase/porter2/cmd/switchvsmap"))))))))
|
||||
(description
|
||||
(string-append (package-description go-github-com-mattn-go-sixel)
|
||||
" This package provides an command line interface (CLI)
|
||||
tools:
|
||||
@itemize
|
||||
@item @code{compare}
|
||||
@item @code{suffixfsm} is a finite state machine generator for the porter2
|
||||
@item @code{switchvsmap}
|
||||
@end itemize"))))
|
||||
|
||||
(define-public go-sentences
|
||||
(package
|
||||
(inherit go-github-com-neurosnap-sentences)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue