GNU bug report logs -
#34906
[PATCH] gnu: Add go-github-com-burntsushi-locker
Previous Next
Reported by: Giovanni Biscuolo <g <at> xelera.eu>
Date: Mon, 18 Mar 2019 17:05:02 UTC
Severity: normal
Tags: patch
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34906 in the body.
You can then email your comments to 34906 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#34906
; Package
guix-patches
.
(Mon, 18 Mar 2019 17:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Giovanni Biscuolo <g <at> xelera.eu>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 18 Mar 2019 17:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Guix!
I've packaged go-github-com-burntsushi-locker, it builds on my platform
and it's linted
[signature.asc (application/pgp-signature, inline)]
[0001-gnu-Add-go-github-com-burntsushi-locker.patch (text/x-diff, inline)]
From 3601eec98d105cb657b80a0b0ba23c6cfc2fff41 Mon Sep 17 00:00:00 2001
From: Giovanni Biscuolo <g <at> xelera.eu>
Date: Mon, 18 Mar 2019 17:46:05 +0100
Subject: [PATCH] gnu: Add go-github-com-burntsushi-locker
* gnu/packages/golang.scm (go-github-com-burntsushi-locker): New variable.
---
gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4bcd5cfcfe..d7b7ea3fef 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby <at> inria.fr>
;;; Copyright © 2018 Pierre Neidhardt <mail <at> ambrevar.xyz>
;;; Copyright @ 2018 Katherine Cox-Buday <cox.katherine.e <at> gmail.com>
+;;; Copyright @ 2019 Giovanni Biscuolo <g <at> xelera.eu>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3177,3 +3178,37 @@ format in Go.")
(description "This package provides a text formatting functions in Go.")
(home-page "https://github.com/kr/text")
(license license:expat)))
+
+(define-public go-github-com-burntsushi-locker
+ (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
+ (revision "0"))
+ (package
+ (name "go-github-com-burntsushi-locker")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BurntSushi/locker")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/BurntSushi/locker"))
+ (home-page "https://github.com/BurntSushi/locker")
+ (synopsis "Manage named ReadWrite mutexes in Go")
+ (description "Golang package for conveniently using named read/write
+locks. These appear to be especially useful for synchronizing access to
+session based information in web applications.
+
+The common use case is to use the package level functions, which use a package
+level set of locks (safe to use from multiple goroutines
+simultaneously). However, you may also create a new separate set of locks
+test.
+
+All locks are implemented with read-write mutexes. To use them like a regular
+mutex, simply ignore the RLock/RUnlock functions.")
+ (license license:public-domain))))
--
2.11.0
[Message part 4 (text/plain, inline)]
Thanks!
Gio
--
Giovanni Biscuolo
Xelera IT Infrastructures
Reply sent
to
Leo Famulari <leo <at> famulari.name>
:
You have taken responsibility.
(Mon, 18 Mar 2019 17:25:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Giovanni Biscuolo <g <at> xelera.eu>
:
bug acknowledged by developer.
(Mon, 18 Mar 2019 17:25:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 34906-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Mon, Mar 18, 2019 at 06:04:00PM +0100, Giovanni Biscuolo wrote:
> Subject: [PATCH] gnu: Add go-github-com-burntsushi-locker
>
> * gnu/packages/golang.scm (go-github-com-burntsushi-locker): New variable.
Thanks!
> + (license license:public-domain))))
I changed this to 'unlicense' and pushed as
4ddf067f214b83c2ab03ed52a7e9ddf6f4f6de66
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 16 Apr 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.