mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
93517366b1
commit
5edee68e49
3 changed files with 39 additions and 37 deletions
|
@ -46,6 +46,7 @@
|
||||||
#:use-module (gnu packages golang)
|
#:use-module (gnu packages golang)
|
||||||
#:use-module (gnu packages golang-build)
|
#:use-module (gnu packages golang-build)
|
||||||
#:use-module (gnu packages golang-web)
|
#:use-module (gnu packages golang-web)
|
||||||
|
#:use-module (gnu packages golang-xyz)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages networking)
|
#:use-module (gnu packages networking)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
|
|
@ -7948,6 +7948,44 @@ sensors).")
|
||||||
;; environment.
|
;; environment.
|
||||||
(string-append "src/" import-path "/host/host_test.go")))))))))
|
(string-append "src/" import-path "/host/host_test.go")))))))))
|
||||||
|
|
||||||
|
(define-public go-github-com-sirupsen-logrus
|
||||||
|
(package
|
||||||
|
(name "go-github-com-sirupsen-logrus")
|
||||||
|
(version "1.9.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/sirupsen/logrus")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1jz7nyq88i9fwfpp7krl046q62kjn6lb9j4r932bxnpypl1hwc49"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/sirupsen/logrus"
|
||||||
|
#:test-flags #~(list "-skip" "TestNestedLoggingReportsCorrectCaller")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys #:rest args)
|
||||||
|
(unless
|
||||||
|
;; The tests fail when run with gccgo.
|
||||||
|
(false-if-exception (search-input-file inputs "/bin/gccgo"))
|
||||||
|
(apply (assoc-ref %standard-phases 'check) args)))))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-davecgh-go-spew
|
||||||
|
go-github-com-pmezard-go-difflib
|
||||||
|
go-github-com-stretchr-testify
|
||||||
|
go-golang-org-x-crypto
|
||||||
|
go-golang-org-x-sys))
|
||||||
|
(home-page "https://github.com/sirupsen/logrus")
|
||||||
|
(synopsis "Structured, pluggable logging for Go")
|
||||||
|
(description "Logrus is a structured logger for Go, completely API
|
||||||
|
compatible with the standard library logger.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-skip2-go-qrcode
|
(define-public go-github-com-skip2-go-qrcode
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-skip2-go-qrcode")
|
(name "go-github-com-skip2-go-qrcode")
|
||||||
|
|
|
@ -3128,43 +3128,6 @@ containers.")
|
||||||
(description "Java properties scanner for Go")
|
(description "Java properties scanner for Go")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public go-github-com-sirupsen-logrus
|
|
||||||
(package
|
|
||||||
(name "go-github-com-sirupsen-logrus")
|
|
||||||
(version "1.9.3")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/sirupsen/logrus")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1jz7nyq88i9fwfpp7krl046q62kjn6lb9j4r932bxnpypl1hwc49"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:import-path "github.com/sirupsen/logrus"
|
|
||||||
#:test-flags #~(list "-skip" "TestNestedLoggingReportsCorrectCaller")
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys #:rest args)
|
|
||||||
(unless
|
|
||||||
;; The tests fail when run with gccgo.
|
|
||||||
(false-if-exception (search-input-file inputs "/bin/gccgo"))
|
|
||||||
(apply (assoc-ref %standard-phases 'check) args)))))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list go-github-com-davecgh-go-spew go-github-com-pmezard-go-difflib
|
|
||||||
go-github-com-stretchr-testify go-golang-org-x-crypto
|
|
||||||
go-golang-org-x-sys))
|
|
||||||
(home-page "https://github.com/sirupsen/logrus")
|
|
||||||
(synopsis "Structured, pluggable logging for Go")
|
|
||||||
(description "Logrus is a structured logger for Go, completely API
|
|
||||||
compatible with the standard library logger.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public go-github-com-rifflock-lfshook
|
(define-public go-github-com-rifflock-lfshook
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-rifflock-lfshook")
|
(name "go-github-com-rifflock-lfshook")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue