From patchwork Thu May 9 22:53:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 27299 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 C520827BBEC; Thu, 9 May 2024 23:59:08 +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.9 required=5.0 tests=BAYES_00,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 0E7ED27BBED for ; Thu, 9 May 2024 23:59:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5CiR-0007A4-8b; Thu, 09 May 2024 18:58:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5CiM-0006zY-Ks for guix-patches@gnu.org; Thu, 09 May 2024 18:58:14 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5CiM-0006s3-Be for guix-patches@gnu.org; Thu, 09 May 2024 18:58:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5CiK-0002sR-MC for guix-patches@gnu.org; Thu, 09 May 2024 18:58:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70855] [PATCH 59/92] gnu: Add ghc-xcb-types. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 May 2024 22:58:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70855 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70855@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70855-submit@debbugs.gnu.org id=B70855.171529547010780 (code B ref 70855); Thu, 09 May 2024 22:58:12 +0000 Received: (at 70855) by debbugs.gnu.org; 9 May 2024 22:57:50 +0000 Received: from localhost ([127.0.0.1]:41245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Chx-0002nf-Al for submit@debbugs.gnu.org; Thu, 09 May 2024 18:57:49 -0400 Received: from 8.mo560.mail-out.ovh.net ([188.165.52.147]:42179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Chq-0002mo-Ix for 70855@debbugs.gnu.org; Thu, 09 May 2024 18:57:43 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.176.25]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4Vb6qC38TZz1SgX for <70855@debbugs.gnu.org>; Thu, 9 May 2024 22:57:43 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-8gmc2 (unknown [10.110.113.89]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 462D01FE5D; Thu, 9 May 2024 22:57:43 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-6684bf9d7b-8gmc2 with ESMTPSA id mJANEOdUPWZs8AIAS6yJug (envelope-from ); Thu, 09 May 2024 22:57:43 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-99G0036cd93fcf-e971-4783-8ecc-2060b094152c, E63BAB6C0A71DD4DA934779D5D345DF804807214) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Fri, 10 May 2024 00:53:54 +0200 Message-ID: <20240509225530.24649-59-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240509225530.24649-1-ngraves@ngraves.fr> References: <20240509225530.24649-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6117858618959782626 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdeffedgudehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvvddufedvffelleffvdduffeuteevhefgueejueejtdekhedtgfehheeghfetieenucffohhmrghinhephhgrshhkvghllhdrohhrghenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddrleelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejtdekheehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/xorg.scm (ghc-xcb-types): New variable. Change-Id: I42d1d49251e9c3d56aecf012a52fff34e678bd94 --- gnu/packages/xorg.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 2bc6946599c..6c894fc45bf 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; Copyright © 2023, 2024 John Kehayias ;;; Copyright © 2023, 2024 Kaelyn Takata +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -62,6 +63,7 @@ (define-module (gnu packages xorg) #:use-module (guix git-download) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) + #:use-module (guix build-system haskell) #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) @@ -88,6 +90,9 @@ (define-module (gnu packages xorg) #:use-module (gnu packages gnupg) #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) + #:use-module (gnu packages haskell) + #:use-module (gnu packages haskell-apps) + #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages inkscape) #:use-module (gnu packages image) @@ -963,6 +968,26 @@ (define-public glproto (license license:x11) (properties `((superseded . ,xorgproto))))) +(define-public ghc-xcb-types + (package + (name "ghc-xcb-types") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "xcb-types" version)) + (sha256 + (base32 "0qdfj4d83b1fjmlysqncgi65ldf3qnrsj4lync95mgbaq2kzxj2r")))) + (build-system haskell-build-system) + (properties '((upstream-name . "xcb-types"))) + (inputs (list ghc-xml)) + (home-page "http://community.haskell.org/~aslatter/code/xcb-types") + (synopsis "Parse XML files used by the XCB project") + (description + "This package provides types which mirror the structures used in the XCB code +generation XML files and parses these XML files into Haskell data structures.") + (license license:bsd-3))) + (define-public iceauth (package (name "iceauth")