From patchwork Sun Aug 28 04:55:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cairn X-Patchwork-Id: 42016 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D948D27BBEA; Sun, 28 Aug 2022 05:57:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A5AB527BBE9 for ; Sun, 28 Aug 2022 05:57:13 +0100 (BST) Received: from localhost ([::1]:57968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSAMC-0006HG-Ro for patchwork@mira.cbaines.net; Sun, 28 Aug 2022 00:57:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSAM2-0006F2-T5 for guix-patches@gnu.org; Sun, 28 Aug 2022 00:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSAM2-000766-Cr for guix-patches@gnu.org; Sun, 28 Aug 2022 00:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSAM2-0000AC-8M for guix-patches@gnu.org; Sun, 28 Aug 2022 00:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57458] [PATCH 1/2] gnu: Add go-github-com-disintegration-imaging. References: <20220828045142.23275-1-cairn@pm.me> In-Reply-To: <20220828045142.23275-1-cairn@pm.me> Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Aug 2022 04:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57458 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57458@debbugs.gnu.org Cc: Cairn Received: via spool by 57458-submit@debbugs.gnu.org id=B57458.1661662567558 (code B ref 57458); Sun, 28 Aug 2022 04:57:02 +0000 Received: (at 57458) by debbugs.gnu.org; 28 Aug 2022 04:56:07 +0000 Received: from localhost ([127.0.0.1]:57453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSAL9-00008w-31 for submit@debbugs.gnu.org; Sun, 28 Aug 2022 00:56:07 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:62639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSAL7-00008Q-2V for 57458@debbugs.gnu.org; Sun, 28 Aug 2022 00:56:05 -0400 Date: Sun, 28 Aug 2022 04:55:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1661662558; x=1661921758; bh=OXAZv6O346IhVhuIXG9c0dqsa5w/hKZCWv2rp3i7t24=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=d3HcrppHZGzBf2WVsk1/YEweKQ5MPpOIiaxlpIQ4ICgHbtYhLkAjDXrQbecoLoIul l65CqEZbG76oHoVPUmbQwEqdWflQNzKRjRoXW1anoI+EtJJhkvfH2aRufL0OgReVFb mmmsuBO1VQA6d5j3Zanu1x1H6o0xCaL6sP1y+ZR3Dln5ZNbGJoUPNLNooGL0jlYD+L /0mXdet5kjWhlGjwyWHEkQqiZZ1XqOdsKltGDdVuzKl4TrQxLUd+OiY4YJxYIJB+2d F6iqiB1H4mdgZrly3cdhq+eWJMMEahbtBLJIHqhqq+e2pL+TDmS7E7T2GzGLaRktlc NUAhJPTGcVrNw== Message-ID: <20220828045531.23541-1-cairn@pm.me> Feedback-ID: 6989168:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Cairn X-ACL-Warn: , Cairn via Guix-patches X-Patchwork-Original-From: Cairn via Guix-patches via From: Cairn X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-disintegration-imaging): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d2f3dc39df..dd0e24b61e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9914,3 +9914,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)))