summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-27 23:23:48 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:27 +0100
commit127e15fa14c33319d06bdaf96e32a700776d5db1 (patch)
treee2645afc3d32dba6e645dae4cbeb8f03b3015bcb /gnu/packages/golang-xyz.scm
parentf253b40717f26e4b277c7cfed5f07b0dc9c667be (diff)
gnu: Add go-github-com-crackcomm-go-gitignore.
* gnu/packages/golang-xyz.scm (go-github-com-crackcomm-go-gitignore): New variable. Change-Id: Ie2f226249d9eec55d852b02d6f5aeda692df29ac
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index da1665f2de..3cede95081 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3778,6 +3778,33 @@ submodules:
"This package provides memcache client and server functionality.")
(license license:expat)))
+(define-public go-github-com-crackcomm-go-gitignore
+ (package
+ (name "go-github-com-crackcomm-go-gitignore")
+ (version "0.0.0-20241020182519-7843d2ba8fdf")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/crackcomm/go-gitignore")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0vabnacz1bk2lvln3bjg4i6wj1lsb6pxy55xzkjp8wdhd8gmk47b"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/crackcomm/go-gitignore"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/crackcomm/go-gitignore")
+ (synopsis "Gitignore parser for Golang")
+ (description
+ "ignore is a library which returns a new ignorer object which can test
+against various paths. This is particularly useful when trying to filter
+files based on a .gitignore document.")
+ (license license:expat)))
+
(define-public go-github-com-delthas-go-libnp
(let ((commit "96674b98150ed492b535d61dde5767dfa2dd14ce")
(revision "1"))