guix-patches
[Top][All Lists]
Advanced

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

[bug#32113] [PATCH 5/5] gnu: Add go-gopkg-in-yaml-v2.


From: Rouby Pierre-Antoine
Subject: [bug#32113] [PATCH 5/5] gnu: Add go-gopkg-in-yaml-v2.
Date: Tue, 10 Jul 2018 18:06:09 +0200

* gnu/packages/golang.scm (go-gopkg-in-yaml-v2): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e6ef7c8d9..6d03d6132 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1940,3 +1940,30 @@ Given a cron expression and a time stamp.")
       (synopsis "Rich testing for Go language")
       (description "This package is rich test library for Go language.")
       (license license:asl2.0))))
+
+(define-public go-gopkg-in-yaml-v2
+  (let ((commit "14227de293ca979cf205cd88769fe71ed96a97e2")
+        (revision "0"))
+    (package
+      (name "go-gopkg-in-yaml-v2")
+      (version (git-version "0.0.0" revision commit))
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                 (url "https://gopkg.in/yaml.v2.git";)
+                 (commit commit)))
+          (file-name (git-file-name name version))
+          (sha256
+            (base32
+              "038hnrjcnjygyi3qidfrkpkakis82qg381sr495d2s40g2dwlzah"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "gopkg.in/yaml.v2"))
+      (native-inputs
+       `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
+      (home-page "https://gopkg.in/yaml.v2";)
+      (synopsis "YAML support for the Go language.")
+      (description "This package is library for encode and decode YAML values
+in Go language.")
+      (license license:asl2.0))))
-- 
2.17.0






reply via email to

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