gnu: Add go-github-com-oklog-ulid-v2.

* gnu/packages/golang-xyz.scm (go-github-com-oklog-ulid-v2, go-ulid):
New variables.

Change-Id: I6512659023330ab1ff03bc9c2e43e3ad92a30490
This commit is contained in:
Sharlatan Hellseher 2024-08-18 21:04:34 +01:00
parent f705f4b42f
commit 62d7440b26
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5118,6 +5118,24 @@ (define-public go-github-com-oklog-ulid
@end itemize")
(license license:asl2.0)))
(define-public go-github-com-oklog-ulid-v2
(package
(inherit go-github-com-oklog-ulid)
(name "go-github-com-oklog-ulid-v2")
(version "2.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/oklog/ulid")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1pxjrg48zrmzzdjpsz7b2d56x1vwix2wywgbbv3sdi5mqf0hz17y"))))
(arguments
(list
#:import-path "github.com/oklog/ulid/v2"))))
(define-public go-github-com-op-go-logging
(package
(name "go-github-com-op-go-logging")
@ -6863,6 +6881,22 @@ (define-public go-tomlv
" This package provides an command line interface (CLI)
tool."))))
(define-public go-ulid
(package
(inherit go-github-com-oklog-ulid-v2)
(name "go-ulid")
(arguments
(list
#:install-source? #f
#:import-path "github.com/oklog/ulid/v2/cmd/ulid"
#:unpack-path "github.com/oklog/ulid/v2"))
(native-inputs
(list go-github-com-pborman-getopt))
(description
(string-append (package-description go-github-com-oklog-ulid)
" This package provides an command line interface (CLI)
tool."))))
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar