summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-12 23:51:15 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:41:55 +0000
commit5edee68e4945dc42ae06c599ee741835eea809d2 (patch)
tree2f515fcf355b3236fdf85d8f60b6ee7bb0468f83
parent93517366b1a4de5ed2ff14fb0f7690fbd2458f39 (diff)
gnu: go-github-com-sirupsen-logrus: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-sirupsen-logrus): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/docker.scm: Add golang-xyz module. Change-Id: I31851e4ea52e7ad1f69ff6ec32f53f00bff6b105
-rw-r--r--gnu/packages/docker.scm1
-rw-r--r--gnu/packages/golang-xyz.scm38
-rw-r--r--gnu/packages/golang.scm37
3 files changed, 39 insertions, 37 deletions
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index e00f1cbb8a0..d35707a8dab 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -46,6 +46,7 @@
46 #:use-module (gnu packages golang) 46 #:use-module (gnu packages golang)
47 #:use-module (gnu packages golang-build) 47 #:use-module (gnu packages golang-build)
48 #:use-module (gnu packages golang-web) 48 #:use-module (gnu packages golang-web)
49 #:use-module (gnu packages golang-xyz)
49 #:use-module (gnu packages linux) 50 #:use-module (gnu packages linux)
50 #:use-module (gnu packages networking) 51 #:use-module (gnu packages networking)
51 #:use-module (gnu packages pkg-config) 52 #:use-module (gnu packages pkg-config)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 856c3415ea9..b3c2e05de17 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7948,6 +7948,44 @@ sensors).")
7948 ;; environment. 7948 ;; environment.
7949 (string-append "src/" import-path "/host/host_test.go"))))))))) 7949 (string-append "src/" import-path "/host/host_test.go")))))))))
7950 7950
7951(define-public go-github-com-sirupsen-logrus
7952 (package
7953 (name "go-github-com-sirupsen-logrus")
7954 (version "1.9.3")
7955 (source
7956 (origin
7957 (method git-fetch)
7958 (uri (git-reference
7959 (url "https://github.com/sirupsen/logrus")
7960 (commit (string-append "v" version))))
7961 (file-name (git-file-name name version))
7962 (sha256
7963 (base32 "1jz7nyq88i9fwfpp7krl046q62kjn6lb9j4r932bxnpypl1hwc49"))))
7964 (build-system go-build-system)
7965 (arguments
7966 (list
7967 #:import-path "github.com/sirupsen/logrus"
7968 #:test-flags #~(list "-skip" "TestNestedLoggingReportsCorrectCaller")
7969 #:phases
7970 #~(modify-phases %standard-phases
7971 (replace 'check
7972 (lambda* (#:key inputs #:allow-other-keys #:rest args)
7973 (unless
7974 ;; The tests fail when run with gccgo.
7975 (false-if-exception (search-input-file inputs "/bin/gccgo"))
7976 (apply (assoc-ref %standard-phases 'check) args)))))))
7977 (propagated-inputs
7978 (list go-github-com-davecgh-go-spew
7979 go-github-com-pmezard-go-difflib
7980 go-github-com-stretchr-testify
7981 go-golang-org-x-crypto
7982 go-golang-org-x-sys))
7983 (home-page "https://github.com/sirupsen/logrus")
7984 (synopsis "Structured, pluggable logging for Go")
7985 (description "Logrus is a structured logger for Go, completely API
7986compatible with the standard library logger.")
7987 (license license:expat)))
7988
7951(define-public go-github-com-skip2-go-qrcode 7989(define-public go-github-com-skip2-go-qrcode
7952 (package 7990 (package
7953 (name "go-github-com-skip2-go-qrcode") 7991 (name "go-github-com-skip2-go-qrcode")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7c637a90df1..b9343512c95 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3128,43 +3128,6 @@ containers.")
3128 (description "Java properties scanner for Go") 3128 (description "Java properties scanner for Go")
3129 (license license:bsd-2))) 3129 (license license:bsd-2)))
3130 3130
3131(define-public go-github-com-sirupsen-logrus
3132 (package
3133 (name "go-github-com-sirupsen-logrus")
3134 (version "1.9.3")
3135 (source
3136 (origin
3137 (method git-fetch)
3138 (uri (git-reference
3139 (url "https://github.com/sirupsen/logrus")
3140 (commit (string-append "v" version))))
3141 (file-name (git-file-name name version))
3142 (sha256
3143 (base32
3144 "1jz7nyq88i9fwfpp7krl046q62kjn6lb9j4r932bxnpypl1hwc49"))))
3145 (build-system go-build-system)
3146 (arguments
3147 (list
3148 #:import-path "github.com/sirupsen/logrus"
3149 #:test-flags #~(list "-skip" "TestNestedLoggingReportsCorrectCaller")
3150 #:phases
3151 #~(modify-phases %standard-phases
3152 (replace 'check
3153 (lambda* (#:key inputs #:allow-other-keys #:rest args)
3154 (unless
3155 ;; The tests fail when run with gccgo.
3156 (false-if-exception (search-input-file inputs "/bin/gccgo"))
3157 (apply (assoc-ref %standard-phases 'check) args)))))))
3158 (propagated-inputs
3159 (list go-github-com-davecgh-go-spew go-github-com-pmezard-go-difflib
3160 go-github-com-stretchr-testify go-golang-org-x-crypto
3161 go-golang-org-x-sys))
3162 (home-page "https://github.com/sirupsen/logrus")
3163 (synopsis "Structured, pluggable logging for Go")
3164 (description "Logrus is a structured logger for Go, completely API
3165compatible with the standard library logger.")
3166 (license license:expat)))
3167
3168(define-public go-github-com-rifflock-lfshook 3131(define-public go-github-com-rifflock-lfshook
3169 (package 3132 (package
3170 (name "go-github-com-rifflock-lfshook") 3133 (name "go-github-com-rifflock-lfshook")