From ea456cd7bcb301ca3fd850248b6bd9eda9e9bad1 Mon Sep 17 00:00:00 2001 From: raingloom Date: Mon, 13 Jul 2020 04:22:46 +0200 Subject: [PATCH 04/10] gnu: Add go-github-com-gologme-log at version 1.2.0 * gnu/packages/golang.scm (go-github-com-gologme-log): New variable. See comment about license. --- gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 57aea6ddef..7f8e08446a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4315,3 +4315,33 @@ inspired by the causal messaging system in the Pony programming language") (synopsis "Console progress bar for Golang") (description "") (license license:bsd-3))) + +(define-public go-github-com-gologme-log + (package + (name "go-github-com-gologme-log") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gologme/log") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0shjbf52xh57bx6xka7h00yjvldjl5wwnim530xxbaragqj0cg8f")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/gologme/log")) + (home-page "https://github.com/gologme/log/") + (synopsis + "A fork of the golang built in log package to add support for levels") + (description "This package is a drop in replacement for the built-in Go log +package. All the functionality of the built-in package still exists and is +unchanged. In addition, this package contains a series of small enhancements +and additions.") + ;; TODO: does this even qualify as a license? the LICENSE file is empty + ;; all it has is this paragraph in the README + ;; "This is free software, licensed under the same BSD license that the + ;; original Go log package was licensed." + ;; Relevant issue: https://github.com/gologme/log/issues/2 + (license license:bsd-3))) -- 2.27.0