emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#34906: closed ([PATCH] gnu: Add go-github-com-burn


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#34906: closed ([PATCH] gnu: Add go-github-com-burntsushi-locker)
Date: Mon, 18 Mar 2019 17:25:02 +0000

Your message dated Mon, 18 Mar 2019 13:24:27 -0400
with message-id <address@hidden>
and subject line Re: [bug#34906] [PATCH] gnu: Add 
go-github-com-burntsushi-locker
has caused the debbugs.gnu.org bug report #34906,
regarding [PATCH] gnu: Add go-github-com-burntsushi-locker
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
34906: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34906
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add go-github-com-burntsushi-locker Date: Mon, 18 Mar 2019 18:04:00 +0100
Hi Guix!

I've packaged go-github-com-burntsushi-locker, it builds on my platform
and it's linted

Attachment: signature.asc
Description: PGP signature

>From 3601eec98d105cb657b80a0b0ba23c6cfc2fff41 Mon Sep 17 00:00:00 2001
From: Giovanni Biscuolo <address@hidden>
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 <address@hidden>
 ;;; Copyright © 2018 Pierre Neidhardt <address@hidden>
 ;;; Copyright @ 2018 Katherine Cox-Buday <address@hidden>
+;;; Copyright @ 2019 Giovanni Biscuolo <address@hidden>
 ;;;
 ;;; 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

Thanks!
Gio

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

--- End Message ---
--- Begin Message --- Subject: Re: [bug#34906] [PATCH] gnu: Add go-github-com-burntsushi-locker Date: Mon, 18 Mar 2019 13:24:27 -0400 User-agent: Mutt/1.11.3 (2019-02-01)
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]