guix-commits
[Top][All Lists]
Advanced

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

04/10: gnu: Add go-go-uber-org-atomic.


From: guix-commits
Subject: 04/10: gnu: Add go-go-uber-org-atomic.
Date: Sat, 20 Mar 2021 06:27:52 -0400 (EDT)

glv pushed a commit to branch master
in repository guix.

commit 32c979675ece13753c0c91980e921785bac4623d
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Mar 19 15:24:03 2021 +0100

    gnu: Add go-go-uber-org-atomic.
    
    * gnu/packages/golang.scm (go-go-uber-org-atomic): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0d434f8..3729a46 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6864,3 +6864,29 @@ or capture raw audio.")
      "This package provides traditional getopt processing for implementing
 programs that use traditional command lines.")
     (license license:bsd-3)))
+
+(define-public go-go-uber-org-atomic
+  (package
+    (name "go-go-uber-org-atomic")
+    (version "1.7.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/uber-go/atomic";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0yxvb5sixh76cl9j8dpa97gznj0p8pmg2cdw0ypfwhd3ipx9wph1"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "go.uber.org/atomic"))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
+       ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
+    (home-page "https://go.uber.org/atomic";)
+    (synopsis "Wrapper types for sync/atomic")
+    (description
+     "This package provides simple wrappers for primitive types to enforce
+atomic access.")
+    (license license:expat)))



reply via email to

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