From dddc68350de0d4904e04504fd4a758119c0d56bd Mon Sep 17 00:00:00 2001 From: Cairn Date: Sun, 28 Aug 2022 04:55:47 +0000 Subject: [PATCH] gnu: Add go-github-com-disintegration-imaging. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm (go-github-com-disintegration-imaging): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 @@ (define-public go-github-com-sourcegraph-jsonrpc2 (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)))