guix-patches
[Top][All Lists]
Advanced

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

[bug#51989] [PATCH 10/12] gnu: Add go-alecthomas-units


From: Collin J. Doering
Subject: [bug#51989] [PATCH 10/12] gnu: Add go-alecthomas-units
Date: Fri, 19 Nov 2021 18:21:50 -0500
User-agent: mu4e 1.6.10; emacs 27.2

---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3944ee71fe..0709208f3f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9093,3 +9093,29 @@ (define-public go-github-com-alecthomas-template
         (home-page "https://github.com/alecthomas/template";)
         (license license:bsd-3))))
 
+(define-public go-github-com-alecthomas-units
+  (let ((commit "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a")
+        (revision "0"))
+      (package
+        (name "go-alecthomas-units")
+        (version "0.0.0")
+        (source (origin
+                  (method git-fetch)
+                  (uri (git-reference
+                        (url "https://github.com/alecthomas/units";)
+                        (commit commit)))
+                  (file-name (git-file-name name version))
+                  (sha256
+                   (base32
+                    "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl"))))
+        (build-system go-build-system)
+        (native-inputs
+         `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+        (arguments
+         '(#:import-path "github.com/alecthomas/units"
+           #:phases %standard-phases))
+        (synopsis "Helpful unit multipliers and functions for Go")
+        (description
+         "Helpful unit multipliers and functions for Go")
+        (home-page "https://github.com/alecthomas/units";)
+        (license license:expat))))
-- 
2.33.1


-- 
Collin J. Doering

http://rekahsoft.ca
http://blog.rekahsoft.ca
http://git.rekahsoft.ca





reply via email to

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