GNU bug report logs - #31881
[PATCH 1/4] gnu: Add go-github-com-sirupsen-logrus.

Previous Next

Package: guix-patches;

Reported by: Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>

Date: Mon, 18 Jun 2018 15:17:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>
To: 31881 <at> debbugs.gnu.org
Cc: Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>
Subject: [bug#31881] [PATCH 1/4] gnu: Add go-github-com-sirupsen-logrus.
Date: Mon, 18 Jun 2018 17:15:43 +0200
* gnu/packages/golang.scm (go-github-com-sirupsen-logrus): New variable.
---
 gnu/packages/golang.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6c21181da..3d1fc5b6d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1703,3 +1703,37 @@ incoming requests to their respective handler.")
        "Pflag is library to replace Go's flag package, implementing
 POSIX/GNU-style --flags.")
       (license license:bsd-3))))
+
+(define-public go-github-com-sirupsen-logrus
+  (let ((commit "4b6ea7319e214d98c938f12692336f7ca9348d6b")
+        (revision "0"))
+    (package
+      (name "go-github-com-sirupsen-logrus")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/sirupsen/logrus.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "06wnl1dkkib2zpm31aavk5c4290s64h2ss68nl1vgcbxzsfbxjaq"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("go-golang-org-x-crypto-ssh-terminal"
+          ,go-golang-org-x-crypto-ssh-terminal)
+         ("go-github-com-stretchr-testify"
+          ,go-github-com-stretchr-testify)
+         ("go-golang-org-x-sys-unix"
+          ,go-golang-org-x-sys-unix)))
+      (arguments
+       '(#:tests? #f                    ;FIXME missing dependencies
+         #:import-path "github.com/sirupsen/logrus"))
+      (home-page "https://github.com/sirupsen/logrus")
+      (synopsis "This packages is structured, pluggable logging for Go")
+      (description
+       "Logrus is a structured logger for Go, completely API compatible with
+the standard library logger.")
+      (license license:expat))))
-- 
2.17.0





This bug report was last modified 6 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.