From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +BLUB/KyuGBppAAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 12:46:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8Ir6AvKyuGC4MgAAbx9fmQ (envelope-from ) for ; Thu, 03 Jun 2021 10:46:10 +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 D878D18179 for ; Thu, 3 Jun 2021 12:46:09 +0200 (CEST) Received: from localhost ([::1]:53142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lokrY-0003b1-V2 for larch@yhetil.org; Thu, 03 Jun 2021 06:46:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lokrS-0003ZC-TI for guix-patches@gnu.org; Thu, 03 Jun 2021 06:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59379) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lokrS-0001wL-LG for guix-patches@gnu.org; Thu, 03 Jun 2021 06:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lokrS-00060m-Jm for guix-patches@gnu.org; Thu, 03 Jun 2021 06:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v2 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: Thu, 03 Jun 2021 10:46:02 +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 , jgart@disroot.org Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162271714523017 (code B ref 48729); Thu, 03 Jun 2021 10:46:02 +0000 Received: (at 48729) by debbugs.gnu.org; 3 Jun 2021 10:45:45 +0000 Received: from localhost ([127.0.0.1]:42667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lokr6-0005ys-Sy for submit@debbugs.gnu.org; Thu, 03 Jun 2021 06:45:44 -0400 Received: from out2.migadu.com ([188.165.223.204]:43432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lokqy-0005yN-N9 for 48729@debbugs.gnu.org; Thu, 03 Jun 2021 06:45:36 -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=1622717132; 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=VdflMgnpiEx2KUF3nX/ZkBoL+/NYpSfh+Ak5EctiH7u7xVBtR3b2B/Th0IfDo1yhGeSyCV W4rvB4Fc/P1eC4aq855W8VrACGihINAsJm1J8PWso2V4hOxtyrO4ihnRg7OVFhiVGP/RgM NHL/0wjTlofc3j8qBiMtxyNmj2pMLCHnuPvA2pn+a5pk8xENW8QTgikYVlQXdSgpPZwvVx FJnOz3KSsdLuT0fl7FJVJNT9xbiUlG8ooaDGhJv4TwiYml/fy6kNLK7koBz9fOUi3L9gbF Qrv+dW2IwZmpfMoomN7DDQ4G6q5/OU1My54GuqDdCiMZB386zYBcUKFMnESXaw== Date: Thu, 3 Jun 2021 06:44:45 -0400 Message-Id: <20210603104507.22412-25-rg@raghavgururajan.name> In-Reply-To: <20210603104507.22412-24-rg@raghavgururajan.name> References: <20210603104507.22412-24-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: D878D18179 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: Kf/sHSepk3Fp * 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