diff options
| -rw-r--r-- | gnu/packages/docker.scm | 1 | ||||
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 38 | ||||
| -rw-r--r-- | gnu/packages/golang.scm | 37 |
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 | ||
| 7986 | compatible 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 | ||
| 3165 | compatible 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") |
