mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-github-com-pborman-getopt-v2.
* gnu/packages/golang-xyz.scm (go-github-com-pborman-getopt): Downgrade to 1.0.0 to reflect go.mod import path. [source] <snippet>: Remove v2 dirrectory and package separatly. (go-github-com-pborman-getopt-v2): New variable. (go-ulid) [native-inputs] Remove go-github-com-pborman-getopt; add go-github-com-pborman-getopt-v2. * gnu/packages/calendar.scm (hebcal) [inputs]: Remove go-github-com-pborman-getopt; add go-github-com-pborman-getopt-v2. Change-Id: I62aaa277cfffdb11e39a77688778a26b4600dc56
This commit is contained in:
parent
4e422224c8
commit
7c8c15f505
2 changed files with 36 additions and 9 deletions
|
@ -456,7 +456,7 @@ configured to show the current time in different timezones.")
|
||||||
(list #:import-path "github.com/hebcal/hebcal"))
|
(list #:import-path "github.com/hebcal/hebcal"))
|
||||||
(inputs
|
(inputs
|
||||||
(list go-github-com-hebcal-hebcal-go
|
(list go-github-com-hebcal-hebcal-go
|
||||||
go-github-com-pborman-getopt))
|
go-github-com-pborman-getopt-v2))
|
||||||
(synopsis "Perpetual Jewish Calendar program")
|
(synopsis "Perpetual Jewish Calendar program")
|
||||||
(description
|
(description
|
||||||
"Hebcal is a program for converting between Hebrew and Gregorian
|
"Hebcal is a program for converting between Hebrew and Gregorian
|
||||||
|
|
|
@ -8343,6 +8343,38 @@ processes.")
|
||||||
(define-public go-github-com-pborman-getopt
|
(define-public go-github-com-pborman-getopt
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-pborman-getopt")
|
(name "go-github-com-pborman-getopt")
|
||||||
|
(version "1.0.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/pborman/getopt")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1sa66n392hzqbahn47grbjyaasvpklnn4s1wkzs1kdwrfdd62kfa"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
#~(begin
|
||||||
|
;; Submodules with their own go.mod files and packaged separately:
|
||||||
|
;;
|
||||||
|
;; - github.com/pborman/getopt/v2
|
||||||
|
(delete-file-recursively "v2")))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/pborman/getopt"))
|
||||||
|
(home-page "https://github.com/pborman/getopt")
|
||||||
|
(synopsis "Getopt style option parsing for Go")
|
||||||
|
(description
|
||||||
|
"This package provides traditional getopt processing for implementing
|
||||||
|
programs that use traditional command lines.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public go-github-com-pborman-getopt-v2
|
||||||
|
(package
|
||||||
|
(inherit go-github-com-pborman-getopt)
|
||||||
|
(name "go-github-com-pborman-getopt-v2")
|
||||||
(version "2.1.0")
|
(version "2.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -8356,13 +8388,8 @@ processes.")
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/pborman/getopt"))
|
#:import-path "github.com/pborman/getopt/v2"
|
||||||
(home-page "https://github.com/pborman/getopt")
|
#:unpack-path "github.com/pborman/getopt"))))
|
||||||
(synopsis "Getopt style option parsing for Go")
|
|
||||||
(description
|
|
||||||
"This package provides traditional getopt processing for implementing
|
|
||||||
programs that use traditional command lines.")
|
|
||||||
(license license:bsd-3)))
|
|
||||||
|
|
||||||
(define-public go-github-com-pelletier-go-toml
|
(define-public go-github-com-pelletier-go-toml
|
||||||
(package
|
(package
|
||||||
|
@ -11955,7 +11982,7 @@ tool."))))
|
||||||
#:import-path "github.com/oklog/ulid/v2/cmd/ulid"
|
#:import-path "github.com/oklog/ulid/v2/cmd/ulid"
|
||||||
#:unpack-path "github.com/oklog/ulid/v2"))
|
#:unpack-path "github.com/oklog/ulid/v2"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github-com-pborman-getopt))
|
(list go-github-com-pborman-getopt-v2))
|
||||||
(description
|
(description
|
||||||
(string-append (package-description go-github-com-oklog-ulid)
|
(string-append (package-description go-github-com-oklog-ulid)
|
||||||
" This package provides an command line interface (CLI)
|
" This package provides an command line interface (CLI)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue