From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8A+TId9NjWaFVwEAqHPOHw:P1 (envelope-from ) for ; Tue, 09 Jul 2024 14:49:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8A+TId9NjWaFVwEAqHPOHw (envelope-from ) for ; Tue, 09 Jul 2024 16:49:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=Zn84LNQH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720536543; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=z5cFg1hCulrMp9e8auwjA5jfqy0G/ntfYs/chSP/mWQ=; b=ZwMyJZGLNU4uEMfaS1fkGG7wcEC+oG2WOdFmeJY9ld4g21kaWDHjYfxG23v0Gjla84N59i Pn46WaHIi6oWubfBC10isBS8dgeEF/GeAVN+bgRDhy5rn4vZrFpAZ8FS0MJqzWlvG+sECo pvNX5QS8vmiFVy9giVJrw2HSur/WNnUcgJyv4mQWdv74+C+r7ukPd/b/njYcPDsIrGC3Mg JROXrMYBCC6DcrkexulFh1tL7biDNR+x2pIx0LdsqeASJFSfGSg5qn1cWAn0s6pZaoWQj7 24kxD+hixgS/hsDTZgrBkUY+wOhz/pY31Hp/Wn2VWmbb3QW0W68qvGy7RO3veg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720536543; a=rsa-sha256; cv=none; b=LIrGergNCuKVa7P3NkXb5UY9CVPl9oSB4yIpJVR/9dvg8hQuyND5BTATNWbPg+8eMzht9h 7HmhXLBxKXZiyXhtGjhDg+VQk8Zcxz0ZxpIGmcdJ4x4CAZaii4igrVWDOtme9LGlnLgqW4 cDts9pGFVbuYCx6/Vy5iWpbZHS3swRwBNlG3UUgHuplHTyVsiMWin9pPY7asj8H+doMaNB IDZi0UrVDDBPrGnb7brzRkg4BH0iIluzUoMJbpObbYO1cVFLZjxXlpBNOtiBB5DWBAJ+hG qbaWUg/M/BpLHXy6MENi3BBK4EJ3Q1Ga8kl2YSp0MqTIe1RqvwohLP4UPnWhug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=Zn84LNQH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 771F936930 for ; Tue, 9 Jul 2024 16:49:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRBXn-0001RT-IF; Tue, 09 Jul 2024 10:10:11 -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 1sRBXj-0001PA-Kf for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:07 -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 1sRBXj-0006yW-BK for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRBXo-0001Cz-Q2 for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44518] [PATCH v2 17/25] gnu: Add ghc-unique. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 14:10:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44518 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 44518-submit@debbugs.gnu.org id=B44518.17205341774420 (code B ref 44518); Tue, 09 Jul 2024 14:10:12 +0000 Received: (at 44518) by debbugs.gnu.org; 9 Jul 2024 14:09:37 +0000 Received: from localhost ([127.0.0.1]:53748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBXF-000199-G1 for submit@debbugs.gnu.org; Tue, 09 Jul 2024 10:09:37 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:43942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBX0-00011E-D2; Tue, 09 Jul 2024 10:09:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z5cFg1hCulrMp9e8auwjA5jfqy0G/ntfYs/chSP/mWQ=; b=Zn84LNQHGQCVj4U20Ni2JyEn2y+JJGwae79ha75MJXBjRFpCDWike03m LRmGZ5kmdk0yd1LhawXeK0D3bXIC4brhPx07/PLyPrWmnTeynjaEWNrOL otvv5YPqku5uSHJAtlskn2MT+UPVG38BYFRxVJNwbQMFWAwrKjUP9cd5f 4=; X-IronPort-AV: E=Sophos;i="6.09,195,1716242400"; d="scan'208";a="91739216" Received: from lfbn-bay-1-62-70.w83-193.abo.wanadoo.fr (HELO guix-A102.home) ([83.193.153.70]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 16:08:41 +0200 From: Romain GARBAGE Date: Tue, 9 Jul 2024 15:54:01 +0200 Message-ID: <20240709140812.6183-18-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240709140812.6183-1-romain.garbage@inria.fr> References: <20240709140812.6183-1-romain.garbage@inria.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 771F936930 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.80 X-Spam-Score: -3.80 X-TUID: BziAZhRN/5EQ Message-ID: <20240709135401.-sOeYWHO2fwrE3MjR9pgJwlFSdhm6wIR8HztUbV-6pQ@z> * gnu/packages/haskell-xyz.scm (ghc-unique): New variable. Change-Id: Id9876b8018f5f8b3bcb82ab0bb13616ed298c31b --- gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 6bdff48b6e..d8d0ddfb98 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13390,6 +13390,30 @@ (define-public ghc-uniplate work, but is substantially simpler and faster.") (license license:bsd-3))) +(define-public ghc-unique + (package + (name "ghc-unique") + (version "0.4.7.9") + (source + (origin + (method url-fetch) + (uri (hackage-uri "Unique" version)) + (sha256 + (base32 "14f1qnmhdmbam8qis725dhwq1mk9h86fsnzhkwhsx73ny9z29s1l")))) + (build-system haskell-build-system) + (properties '((upstream-name . "Unique"))) + (inputs (list ghc-extra ghc-hashable ghc-unordered-containers)) + (native-inputs (list ghc-hspec ghc-quickcheck)) + (arguments + `(#:tests? #f ;test Data.List.UniqueUnsorted.removeDuplicates fails + #:cabal-revision ("1" + "10s0npnfkh7naj49afmyrvnilikp6426fbhi49f97pxrgcmy4dvw"))) + (home-page "http://hackage.haskell.org/package/Unique") + (synopsis "It provides the functionality like unix \"uniq\" utility") + (description + "Library provides the functions to find unique and duplicate elements in the list") + (license license:bsd-3))) + (define-public ghc-unix-compat (package (name "ghc-unix-compat") -- 2.45.1