diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-06-18 18:30:08 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-03 22:23:22 +0100 |
commit | d7a55dd7d5cf007c6aa4a3f331f1ea70c1302ac8 (patch) | |
tree | da45daf73af437c0a50a922cf51bb45293dce19e | |
parent | d40d0aa57cc141fa96d865f72368828c0316c3bb (diff) | |
download | guix-d7a55dd7d5cf007c6aa4a3f331f1ea70c1302ac8.tar.gz |
gnu: Add go-github-com-neurosnap-sentences.
* gnu/packages/golang-xyz.scm (go-github-com-neurosnap-sentences, go-sentences): New variables. Change-Id: I56c9e6c26567cfb9a6a21f8e637ddd1465d3bb58
-rw-r--r-- | gnu/packages/golang-xyz.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 944d5f93f8..af7860781d 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -3438,6 +3438,31 @@ posts the metrics to the Prometheus client registry and just updates the registry.") (license license:asl2.0))) +(define-public go-github-com-neurosnap-sentences + (package + (name "go-github-com-neurosnap-sentences") + (version "1.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/neurosnap/sentences") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qkq635x54mqzydxmifh2l0kicacgqcbkw4vli1cnwwcs0x902f2")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.21 + #:import-path "github.com/neurosnap/sentences")) + (home-page "https://github.com/neurosnap/sentences") + (synopsis "Multilingual command line sentence tokenizer in Golang") + (description + "This package provides functionality of converting a blob of text into a +list of sentences.") + (license license:expat))) + (define-public go-github-com-nsqio-go-diskqueue (package (name "go-github-com-nsqio-go-diskqueue") @@ -4785,6 +4810,20 @@ go-github-com-tklauser-numcpus source."))) "This package provides a CLI build from the go-github-com-orisano-pixelmatch source."))) +(define-public go-sentences + (package + (inherit go-github-com-neurosnap-sentences) + (name "go-sentences") + (arguments + (list + #:import-path "github.com/neurosnap/sentences/cmd/sentences" + #:unpack-path "github.com/neurosnap/sentences" + #:install-source? #f)) + (description + (string-append (package-description go-github-com-neurosnap-sentences) + " This package provides an command line interface (CLI) +tool.")))) + (define-public go-tengo (package (inherit go-github-com-d5-tengo-v2) |