guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#71843] [PATCH 16/26] gnu: Add go-github-com-neurosnap-sentences.


From: Sharlatan Hellseher
Subject: [bug#71843] [PATCH 16/26] gnu: Add go-github-com-neurosnap-sentences.
Date: Sun, 30 Jun 2024 10:05:56 +0100

* gnu/packages/golang-xyz.scm (go-github-com-neurosnap-sentences, 
go-sentences): New variables.

Change-Id: I56c9e6c26567cfb9a6a21f8e637ddd1465d3bb58
---
 gnu/packages/golang-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

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 @@ (define-public 
go-github-com-nbrownus-go-metrics-prometheus
 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 @@ (define-public go-pixelmatch
      "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)
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]