guix-commits
[Top][All Lists]
Advanced

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

01/11: gnu: Add go-golang-org-x-image.


From: guix-commits
Subject: 01/11: gnu: Add go-golang-org-x-image.
Date: Sun, 22 Mar 2020 03:58:16 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 2573709cc9154993f1ff62219a4125a68d27e6f8
Author: Efraim Flashner <address@hidden>
AuthorDate: Sun Mar 15 15:55:22 2020 +0200

    gnu: Add go-golang-org-x-image.
    
    * gnu/packages/golang.scm (go-golang-org-x-image): New variable.
---
 gnu/packages/golang.scm | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f684470..3d38b50 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <address@hidden>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Matthew Jordan <address@hidden>
 ;;; Copyright © 2016 Andy Wingo <address@hidden>
 ;;; Copyright © 2016, 2019 Ludovic Courtès <address@hidden>
@@ -692,6 +692,36 @@ for the Go language.")
       (home-page "https://go.googlesource.com/net";)
       (license license:bsd-3))))
 
+(define-public go-golang-org-x-image
+  (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
+        (revision "1"))
+    (package
+      (name "go-golang-org-x-image")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://go.googlesource.com/image";)
+                       (commit commit)))
+                (file-name (string-append "go.googlesource.com-image-"
+                                          version "-checkout"))
+                (sha256
+                 (base32
+                  "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "golang.org/x/image"
+         ; Source-only package
+         #:tests? #f
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'build))))
+      (home-page "https://go.googlesource.com/image";)
+      (synopsis "Supplemental Go image libraries")
+      (description "This package provides supplemental Go libraries for image
+processing.")
+      (license license:bsd-3))))
+
 (define-public go-golang-org-x-sys
   (let ((commit "749cb33beabd9aa6d3178e3de05bcc914f70b2bf")
         (revision "5"))



reply via email to

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