diff options
| author | Patrick Norton <patrick.147.norton@gmail.com> | 2026-01-05 17:01:31 -0500 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-04-30 21:34:02 +0100 |
| commit | aabee4323164cfba8e6e34d8cdad83b937f58046 (patch) | |
| tree | 7bcc236854d50efce3545b3ecafb84b09f995906 /gnu | |
| parent | da6e6057b1440488cf65c992c6dbc5b5b3cc70aa (diff) | |
gnu: Add go-github-com-daixiang0-gci.
* gnu/packages/golang-check.scm (go-github-com-daixiang0-gci, go-gci): New
variables.
Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I0bb9809505bff17d06f33272c41cad02fbc947db
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-check.scm | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index f2ac26dcf4..671c093c13 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -652,6 +652,42 @@ time functions.") strings which may be used in mock tests.") (license license:unlicense))) +(define-public go-github-com-daixiang0-gci + (package + (name "go-github-com-daixiang0-gci") + (version "0.13.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/daixiang0/gci") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vhnqisf6d706qvswccb0d7bkbl53lyi84f5sl3zyaf6yk8ml9dx")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/daixiang0/gci")) + (native-inputs + (list go-github-com-stretchr-testify + go-github-com-spf13-cobra)) + (propagated-inputs + (list go-gopkg-in-yaml-v3 + go-golang-org-x-tools + go-golang-org-x-sync + go-golang-org-x-mod + go-go-uber-org-zap + go-github-com-pmezard-go-difflib + go-github-com-hexops-gotextdiff)) + (home-page "https://github.com/daixiang0/gci") + (synopsis "Tool to make Go import order deterministic") + (description + "This package provides a tool that controls Go package import order and +makes it always deterministic.") + (license license:bsd-3))) + (define-public go-github-com-data-dog-go-sqlmock (package (name "go-github-com-data-dog-go-sqlmock") @@ -4155,6 +4191,20 @@ thoroughly " This package provides an command line interface (CLI) tool.")))) +(define-public go-gci + (package/inherit go-github-com-daixiang0-gci + (name "go-gci") + (arguments + (substitute-keyword-arguments arguments + ((#:tests? _ #t) #f) + ((#:install-source? _ #t) #f) + ((#:skip-build? _ #t) #f))) + (native-inputs + (append (package-native-inputs go-github-com-daixiang0-gci) + (package-propagated-inputs go-github-com-daixiang0-gci))) + (propagated-inputs '()) + (inputs '()))) + (define-public go-pgmockproxy (package/inherit go-github-com-jackc-pgmock (name "go-pgmockproxy") |
