summaryrefslogtreecommitdiff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-10 22:01:35 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:47:55 +0000
commitbe17092eba6a524e6299422c5fe7a982681d1498 (patch)
treea3cd752f1ce0d06e021de49161968c376ededc4a /gnu/packages/golang.scm
parent5b467f5889893759d2daaae845ac31e3bff0f98f (diff)
gnu: go-github-com-surgebase-porter2: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-surgebase-porter2): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: Ie29eaf684035994c55bf956d2acefeb3b1f7fbf7
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r--gnu/packages/golang.scm41
1 files changed, 0 insertions, 41 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a578536b43..218cefa2ef 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2535,47 +2535,6 @@ characters with their ASCII approximations.")
(description "Leveled execution logs for Go.")
(license license:asl2.0))))
-(define-public go-github-com-surgebase-porter2
- (package
- (name "go-github-com-surgebase-porter2")
- (version "0.0.0-20150829210152-56e4718818e8")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/surgebase/porter2")
- (commit (go-version->git-ref version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/surgebase/porter2"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'fix-build
- (lambda* (#:key import-path #:allow-other-keys)
- (with-directory-excursion (string-append "src/" import-path)
- (substitute* "cmd/suffixfsm/suffixfsm.go"
- ;; fmt.Println arg list ends with redundant newline
- (("fmt.Println") "fmt.Printf"))))))))
- (native-inputs
- (list go-github-com-agonopol-go-stem
- go-github-com-dchest-stemmer
- go-github-com-kljensen-snowball
- go-github-com-reiver-go-porterstemmer
- go-github-com-stretchr-testify))
- (propagated-inputs
- (list go-github-com-surge-glog))
- (home-page "https://github.com/surgebase/porter2")
- (synopsis "Go library implementing english Porter2 stemmer")
- (description "Porter2 implements the
-@url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
-Porter2 stemmer}. It is written completely using finite state machines to do
-suffix comparison, rather than the string-based or tree-based approaches.")
- (license license:asl2.0)))
-
(define-public go-github-com-twpayne-go-vfsafero
(package
(name "go-github-com-twpayne-go-vfsafero")