From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YNsVMeX7v2BWVgAAgWs5BA (envelope-from ) for ; Wed, 09 Jun 2021 01:23:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kCA8LOX7v2DkVwAAB5/wlQ (envelope-from ) for ; Tue, 08 Jun 2021 23:23:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8D25D193BB for ; Wed, 9 Jun 2021 01:23:17 +0200 (CEST) Received: from localhost ([::1]:43986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lql40-0006B7-Jy for larch@yhetil.org; Tue, 08 Jun 2021 19:23:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lql3o-0005i8-C4 for guix-patches@gnu.org; Tue, 08 Jun 2021 19:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lql3o-0005JR-52 for guix-patches@gnu.org; Tue, 08 Jun 2021 19:23:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lql3o-0003wC-2o for guix-patches@gnu.org; Tue, 08 Jun 2021 19:23:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 25/47] gnu: Add go-github-com-burntsushi-xgbutil. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Jun 2021 23:23:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162319455215000 (code B ref 48729); Tue, 08 Jun 2021 23:23:04 +0000 Received: (at 48729) by debbugs.gnu.org; 8 Jun 2021 23:22:32 +0000 Received: from localhost ([127.0.0.1]:60118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lql3H-0003tk-3y for submit@debbugs.gnu.org; Tue, 08 Jun 2021 19:22:32 -0400 Received: from out0.migadu.com ([94.23.1.103]:20814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lql3F-0003tc-6H for 48729@debbugs.gnu.org; Tue, 08 Jun 2021 19:22:29 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623194547; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7vwpfXyZrGlA584V7qwFiDvd5aqFVznev7kqe2rYA44=; b=g4SF0S7vNyRadwEHPOGNe3i6xqEFmcycGcG9Pk/FtekWWKSW3iC9xlJGpOTYhlTsFp4cXl wSxeob89VVjtalOY77MuBXfl6WweCtPnAlvxn6jyx0qsQv4IPWzBp4s04BbTvjJCYGATy9 3ovS/0wc5+v/g8GR8AA7Alixq8Eqf8OE2lAKi8g72h8tsahmdOzeqC2dEE9BvR8o/Pw+gz 96g18kqf0sk3HCo48N5M74iA1vS7DD/eEnzgQgVst6iHzMcN4DJohPPTQVM9OrZjd1l1Yn tG79U4l8t7E2gHx7UUCtro6CBpWAaPq655JodXfMQLEBWkLklhRN1i9gBYyQNQ== Date: Tue, 8 Jun 2021 19:21:42 -0400 Message-Id: <20210608232204.18111-25-rg@raghavgururajan.name> In-Reply-To: <20210608232204.18111-21-rg@raghavgururajan.name> References: <20210608232204.18111-21-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: rg@raghavgururajan.name 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 8D25D193BB X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: lZfbCVwGuRla * gnu/packages/golang.scm (go-github-com-burntsushi-xgbutil): New variable. --- gnu/packages/golang.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d06a617ebd..9c182bba3c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -69,6 +69,46 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-burntsushi-xgbutil + (let ((commit "ad855c7130460fb6cf40af9302c649a69082a4ee") + (revision "335")) + (package + (name "go-github-com-burntsushi-xgbutil") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/BurntSushi/xgbutil") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zyqinxjgd7w3qzl2jhc8ipyyg1rh7xjxpd85p88m213ak5865bq")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/BurntSushi/xgbutil" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* (find-files "." "\\.go$") + ;; Use 'jezek/xgb' instead of 'BurntSushi/xgb', + ;; as the latter is unmaintained. + (("github.com/BurntSushi/xgb") + "github.com/jezek/xgb")) + #t))))) + (propagated-inputs + `(("go-github-com-jezek-xgb" ,go-github-com-jezek-xgb))) + (synopsis "Utility Library for X Go Binding") + (description "Xgbutil is a utility library designed to work with the X Go +Binding. This project's main goal is to make various X related tasks easier. +For example, binding keys, using the EWMH or ICCCM specs with the window manager, +moving/resizing windows, assigning function callbacks to particular events, +drawing images to a window, etc.") + (home-page "https://github.com/BurntSushi/xgbutil") + (license license:wtfpl2)))) + (define-public go-github-com-jezek-xgb (let ((commit "0e0f116e1240ae19099324c3b2632003082841b7") (revision "155")) -- 2.31.1