From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUvtz-0000Pa-72 for guix-patches@gnu.org; Mon, 18 Jun 2018 11:17:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUvtw-0005Ud-0f for guix-patches@gnu.org; Mon, 18 Jun 2018 11:17:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUvtv-0005UT-Sd for guix-patches@gnu.org; Mon, 18 Jun 2018 11:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fUvtv-00063C-Ix for guix-patches@gnu.org; Mon, 18 Jun 2018 11:17:03 -0400 Subject: [bug#31881] [PATCH 1/4] gnu: Add go-github-com-sirupsen-logrus. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUvt1-0008Hc-E4 for guix-patches@gnu.org; Mon, 18 Jun 2018 11:16:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUvsy-0004tB-6P for guix-patches@gnu.org; Mon, 18 Jun 2018 11:16:07 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:47217) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fUvsx-0004qe-Rg for guix-patches@gnu.org; Mon, 18 Jun 2018 11:16:04 -0400 From: Rouby Pierre-Antoine Date: Mon, 18 Jun 2018 17:15:43 +0200 Message-Id: <20180618151543.2921-1-pierre-antoine.rouby@inria.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31881@debbugs.gnu.org Cc: Rouby Pierre-Antoine * 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