From patchwork Wed Aug 3 21:18:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 41212 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 5BABF27BBE9; Wed, 3 Aug 2022 22:19:24 +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 C3C4427BBEA for ; Wed, 3 Aug 2022 22:19:23 +0100 (BST) Received: from localhost ([::1]:36458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJLly-0006JT-T9 for patchwork@mira.cbaines.net; Wed, 03 Aug 2022 17:19:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJLle-0006IP-Np for guix-patches@gnu.org; Wed, 03 Aug 2022 17:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJLle-0004mo-DK for guix-patches@gnu.org; Wed, 03 Aug 2022 17:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJLle-0006BO-7J for guix-patches@gnu.org; Wed, 03 Aug 2022 17:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56961] [PATCH 1/6] gnu: packages: Add go-github-com-lucasb-eyer-go-colorful. References: In-Reply-To: Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Aug 2022 21:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56961 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56961@debbugs.gnu.org Cc: "\(" Received: via spool by 56961-submit@debbugs.gnu.org id=B56961.165956151623675 (code B ref 56961); Wed, 03 Aug 2022 21:19:02 +0000 Received: (at 56961) by debbugs.gnu.org; 3 Aug 2022 21:18:36 +0000 Received: from localhost ([127.0.0.1]:50181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJLlE-00069m-B1 for submit@debbugs.gnu.org; Wed, 03 Aug 2022 17:18:36 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJLlC-00069W-02 for 56961@debbugs.gnu.org; Wed, 03 Aug 2022 17:18:34 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4007140ED5; Wed, 3 Aug 2022 23:18:33 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4WjY_m_hFnEP; Wed, 3 Aug 2022 23:18:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659561509; bh=W2xHYrAoatzRrcIkzTKEQ2yKuKwUMfoTbLlrL5nE4oA=; h=From:To:Cc:Subject:Date; b=mdhA0h3AFeEkYa4rDvsaupfh6JwfimVKT2i1NJvQMC5NxPjhF4HtrMOG1lC+cH50m 1M5G1TovcmredW6w0XjnpurqlYO3o4/do82s2ecEMjJTH69v6Uh0p4x7xlwJV+2lOn ngY8ZYghyafUYTybHpmC09ZXQTnR6fHcpYWbMNxipmUTYu9TsCDNpTGG8bLbfpT5ev mZajnk/CtWBzbyZUUb2X4REtlJIcMAynwSDM1BxMaB4PEi6gzECXFHkiwKU0FWfFUn SV581ked1vETJSauKGlhabbomScGZ1VlpixiXl/S8vtrfV7lsYOk/YTIxuOIRZL/Di +mR2vdrWC4VQQ== Date: Wed, 3 Aug 2022 22:18:17 +0100 Message-Id: <20220803211822.21182-1-paren@disroot.org> 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: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-lucasb-eyer-go-colorful): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1ce55875d8..8962d18b3e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2021 Lu Hui ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 muradm +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -9891,3 +9892,28 @@ (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-lucasb-eyer-go-colorful + (package + (name "go-github-com-lucasb-eyer-go-colorful") + (version "1.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lucasb-eyer/go-colorful") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08c3fkf27r16izjjd4w94xd1z7w1r4mdalbl53ms2ka2j465s3qs")))) + (build-system go-build-system) + (propagated-inputs (list go-golang-org-x-image)) + (arguments + (list #:import-path "github.com/lucasb-eyer/go-colorful")) + (home-page "https://github.com/lucasb-eyer/go-colorful") + (synopsis "Library for manipulating colors in Go") + (description + "This package provides a library for manipulating colors in Go. +It stores colors in RGB and provides methods for converting them to +other color-spaces.") + (license license:expat)))