summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorCairn <cairn@pm.me>2022-08-28 04:55:47 +0000
committerLudovic Courtès <ludo@gnu.org>2022-09-06 16:58:12 +0200
commitdddc68350de0d4904e04504fd4a758119c0d56bd (patch)
treeb892f9872aea48118185fe84b702669bf55b4602 /gnu/packages
parent7f939d36dc46000dabe9338587ce2f33866e420a (diff)
downloadguix-dddc68350de0d4904e04504fd4a758119c0d56bd.tar.gz
gnu: Add go-github-com-disintegration-imaging.
* gnu/packages/golang.scm (go-github-com-disintegration-imaging): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 383d4d1618..8e76534d34 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9969,3 +9969,26 @@ implementation.")
     (description
      "Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
     (license license:expat)))
+
+(define-public go-github-com-disintegration-imaging
+  (package
+    (name "go-github-com-disintegration-imaging")
+    (version "1.6.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/disintegration/imaging")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1sl201nmk601h0aii4234sycn4v2b0rjxf8yhrnik4yjzd68q9x5"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/disintegration/imaging"))
+    (inputs (list go-golang-org-x-image))
+    (home-page "https://github.com/disintegration/imaging")
+    (synopsis "Simple image processing for Go")
+    (description "This package provides basic image processing functions
+(resize, rotate, crop, brightness/contrast adjustments, etc.).")
+    (license license:expat)))