From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WLZeLha9SGf6bgAA62LTzQ:P1 (envelope-from ) for ; Thu, 28 Nov 2024 18:57:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WLZeLha9SGf6bgAA62LTzQ (envelope-from ) for ; Thu, 28 Nov 2024 19:57:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jDKNtHle; dkim=fail ("headers rsa verify failed") header.d=0px.xyz header.s=MBO0001 header.b=G+LcmoSD; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=0px.xyz (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732820246; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9maq8lWNS5neaLjkGnqa3b1qalsz8hnheg/Oeff9SkY=; b=mb5VOGDanjG+1ZNW2q8f4RnQZH6YCTIhuVXxip0DF5l3KAqbXqLAYMRNgRed0QmfCmIK7q 3TSv78B0mj3ZlNLeMRQ3KS1qEMJ0Aib5gQR1W8U/hbX5mp15rZjoxa8yz1NOlP35/KLugF y2HOwnJN3O6085TqBgcEGdCN9iJPBkuIOC+Tc03hA4j8wbqRGVlYRFej3MojnACZTLVY4W MtPChkov3roNcrCZ1OnRxYPR5WOnFGAX1sm8k+XUYY6E/NotmbC8ITld0Y98IXldjdkvJp d4WaC1deuK03LbSd71ILcIg9dpazbyor6/TUUAm449YzAVq5vu65D5gBuYHC/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jDKNtHle; dkim=fail ("headers rsa verify failed") header.d=0px.xyz header.s=MBO0001 header.b=G+LcmoSD; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=0px.xyz (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732820246; a=rsa-sha256; cv=none; b=tBayVwBKmuOgOF56VksdK9bwPVADYxr5QZbEWRqhPe/D9o0g+BQ4M9YDp+KP6sYryMl5j/ cwImwt9yMcy/pI5glt7ICQ1QMCGWyeS21MpsTS0vgq4ESictzpIZL0QE1IY8DgVzqB/TGB rQMMh3SYg2+ea8xb6LYBN6oqhLp2CUoLsxezQ/XDZROtfEo4b8v3ZhZ4W8fzUaOQtMAfH8 UQghFnqWeQ9LDBlEhc+FSobtZ4qE4uIin+HyFW8pRUmqWpvBPXbk/aiN7KOMvh2I04Bl9p 37VwRUObcq3id9LOemjyprJVZ45//EI37QG6sxgXkjsfSSWJY0V/fZZTiZ2xwA== 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 C0E2D79E62 for ; Thu, 28 Nov 2024 19:57:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGjhL-0006uh-DA; Thu, 28 Nov 2024 13:57:07 -0500 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 1tGjhI-0006uE-RB for guix-patches@gnu.org; Thu, 28 Nov 2024 13:57:05 -0500 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 1tGjhI-0006Em-BP for guix-patches@gnu.org; Thu, 28 Nov 2024 13:57:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=9maq8lWNS5neaLjkGnqa3b1qalsz8hnheg/Oeff9SkY=; b=jDKNtHle2cZrkr0DjpxcojOZ8MnLkNCCGIYAuzlVD5Qt08fs/9FUUtM7FI7ZaYa5IZhZRS3rjQJEVR40YIKnmmbMGxObKO9LKVXEUbgnBlHY+efvk7NBP0SVd/d5w+a93vlNwbgamWNpnL08NHAksT0frn9nH/IEiyUQBBg8jzQBIjRhm2ArSLbbOK1lzAT/e6ZU1oc3UBQENXQdbQTfB2L4Z5TQi9VTZSL71UDijwj+/9Dz/Hq701lWU+OOLAXXx4SJcMy0kK5DNaOC7CWTXUKB1xj37OclCq2K5R+tMWsZwkZDOTFCR3iYkbV+obabiygO1Ka4811o3deWVRikhQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGjhG-0002p4-Mt; Thu, 28 Nov 2024 13:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74595] [PATCH] gnu: git-annex: Update to 10.20241031. Resent-From: Matthias =?UTF-8?Q?Ri=C3=9Fe?= Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Thu, 28 Nov 2024 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74595 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74595@debbugs.gnu.org Cc: Matthias =?UTF-8?Q?Ri=C3=9Fe?= , Lars-Dominik Braun X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by submit@debbugs.gnu.org id=B.173282020610812 (code B ref -1); Thu, 28 Nov 2024 18:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Nov 2024 18:56:46 +0000 Received: from localhost ([127.0.0.1]:39739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGjgy-0002oF-Dd for submit@debbugs.gnu.org; Thu, 28 Nov 2024 13:56:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:54136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGgTf-0008GM-Iu for submit@debbugs.gnu.org; Thu, 28 Nov 2024 10:30:48 -0500 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 1tGgTf-0003nT-8b for guix-patches@gnu.org; Thu, 28 Nov 2024 10:30:47 -0500 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tGgTc-0001Jp-KO for guix-patches@gnu.org; Thu, 28 Nov 2024 10:30:47 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4XzgHS18ffz9sW6; Thu, 28 Nov 2024 16:30:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0px.xyz; s=MBO0001; t=1732807828; 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; bh=9maq8lWNS5neaLjkGnqa3b1qalsz8hnheg/Oeff9SkY=; b=G+LcmoSDWIhU35szmwiYXI6wL67O1lRbDqX0B+HiYTLkzZezS7B8xPyQs0eIXJY81MG6hQ o6RK7y63SH0/cR3CtQutia1jv/zXPPf+pwBr6McfBa7+s48H+aHRDw+x5ljyNs9ww9Z7Wi lohsCihqjSwrcbBSrRM1sKUl+bXMSKixFWY78p9US6La+Gop5F1I9+xeVkmu2ogIzXRfMm co1OQG0qz6cxXzoRnLaAArx3fvbl0neaSC5JS3UlyINdPGYgD5wuM4qVn52qcjj4TL5vWX i0xal1k/I9PNJhXhbMbZVeGGEPPpgSMwyPsBA9e4MotuLP9MgPJE2j/AEFmCtA== From: Matthias =?UTF-8?Q?Ri=C3=9Fe?= Date: Thu, 28 Nov 2024 16:22:27 +0100 Message-ID: <06441c630717d1b8bcee81063a8bbecbffd7ffee.1732807347.git.matrss@0px.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=matrss@0px.xyz; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 28 Nov 2024 13:56:43 -0500 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 4.02 X-Spam-Score: 4.02 X-Migadu-Queue-Id: C0E2D79E62 X-TUID: lo98X7SIaB/H * gnu/packages/haskell-apps.scm (git-annex): Update to 10.20241031. [inputs]: Add ghc-servant-client and ghc-servant-server. * gnu/packages/haskell-xyz.scm (ghc-servant-client, ghc-servant-client-core, ghc-tdigest): New variables. Change-Id: Ibf172e3199b2c0cae051f5b4543395fc0ef1b6c0 --- Hey, this patch updates git-annex to its as-of-now latest release. A simple version bump failed to build at some p2phttp related file, but since that is a feature I would want anyway I've also added the necessary dependencies on servant for it. The new package definitions in haskell-xyz.scm are taken verbatim from guix import, apart from adding ghc-hspec-discover to the native-inputs of the two servant-client packages, to make them build. gnu/packages/haskell-apps.scm | 6 +- gnu/packages/haskell-xyz.scm | 114 ++++++++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 843681f311..1f5d1d74d3 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -297,7 +297,7 @@ (define-public ghcid (define-public git-annex (package (name "git-annex") - (version "10.20240831") + (version "10.20241031") (source (origin ;; hackage release doesn't include everything needed for extra bits. @@ -307,7 +307,7 @@ (define-public git-annex (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1g6paxjpdjmzr623p7cf6chh42g5azwlzlnxgljhyhdmz6bxj5fr")))) + (base32 "0x05mgxwn8a1czc98bp242828khw94f232slfbzvx86xx0z3c3d9")))) (build-system haskell-build-system) (properties '((upstream-name . "git-annex"))) (arguments @@ -460,6 +460,8 @@ (define-public git-annex ghc-safesemaphore ghc-sandi ghc-securemem + ghc-servant-client + ghc-servant-server ghc-socks ghc-split ghc-stm-chans diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 9c3b990275..ae1aa2d334 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16683,6 +16683,92 @@ (define-public ghc-servant CHANGELOG>") (license license:bsd-3))) +(define-public ghc-servant-client + (package + (name "ghc-servant-client") + (version "0.19") + (source + (origin + (method url-fetch) + (uri (hackage-uri "servant-client" version)) + (sha256 + (base32 "1bdapsr6il0f019ss8wsxndpc8cd5czj40xczay5qhl7fqnxg5pa")))) + (build-system haskell-build-system) + (properties '((upstream-name . "servant-client"))) + (inputs (list ghc-servant + ghc-servant-client-core + ghc-base-compat + ghc-http-client + ghc-http-media + ghc-http-types + ghc-kan-extensions + ghc-monad-control + ghc-semigroupoids + ghc-transformers-base + ghc-transformers-compat)) + (native-inputs (list ghc-aeson + ghc-http-api-data + ghc-sop-core + ghc-wai + ghc-warp + ghc-entropy + ghc-hspec + ghc-hspec-discover + ghc-hunit + ghc-network + ghc-quickcheck + ghc-servant-server + ghc-tdigest + ghc-markdown-unlit)) + (arguments + `(#:cabal-revision ("6" + "0lakjnpvsiai08c5nddgzrnr0a139rr37cyq31hqcbwnsy553l1y"))) + (home-page "http://docs.servant.dev/") + (synopsis "Automatic derivation of querying functions for servant") + (description + "This library lets you derive automatically Haskell functions that let you query +each endpoint of a +webservice. . See . . +.") + (license license:bsd-3))) + +(define-public ghc-servant-client-core + (package + (name "ghc-servant-client-core") + (version "0.19") + (source + (origin + (method url-fetch) + (uri (hackage-uri "servant-client-core" version)) + (sha256 + (base32 "0cisc5cyl367cwrch1gr812aspd36a21hkwi6mwj708rpspwvrmc")))) + (build-system haskell-build-system) + (properties '((upstream-name . "servant-client-core"))) + (inputs (list ghc-constraints + ghc-servant + ghc-aeson + ghc-base-compat + ghc-base64-bytestring + ghc-free + ghc-http-media + ghc-http-types + ghc-network-uri + ghc-safe + ghc-sop-core)) + (native-inputs (list ghc-hspec ghc-hspec-discover ghc-quickcheck)) + (arguments + `(#:cabal-revision ("5" + "147ws71hwp8zck7ph8kcyh18524s8g0b7qvxjsvsm1yvw77c60gh"))) + (home-page "http://docs.servant.dev/") + (synopsis + "Core functionality and class for client function generation for servant APIs") + (description + "This library provides backend-agnostic generation of client functions. For more +information, see the README.") + (license license:bsd-3))) + (define-public ghc-servant-server (package (name "ghc-servant-server") @@ -17051,6 +17137,34 @@ (define-public ghc-validation-selective "Lighweight pure data validation based on Applicative and Selective functors.") (license license:mpl2.0))) +(define-public ghc-tdigest + (package + (name "ghc-tdigest") + (version "0.2.1.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "tdigest" version)) + (sha256 + (base32 "1dvkf7cs8dcr13wza5iyq2qgvz75r33mzgfmhdihw62xzxsqb6d3")))) + (build-system haskell-build-system) + (properties '((upstream-name . "tdigest"))) + (inputs (list ghc-base-compat ghc-reducers ghc-semigroupoids ghc-vector + ghc-vector-algorithms)) + (native-inputs (list ghc-semigroups ghc-tasty ghc-tasty-quickcheck)) + (arguments + `(#:cabal-revision ("3" + "0a39vwf37hkh06rn79blr3bw7ij05pgpxrkc9cldgdd5p4gvn1qn"))) + (home-page "https://github.com/phadej/haskell-tdigest#readme") + (synopsis "On-line accumulation of rank-based statistics") + (description + "This package provides a new data structure for accurate on-line accumulation of +rank-based statistics such as quantiles and trimmed means. . See original +paper: \"Computing extremely accurate quantiles using t-digest\" by Ted Dunning +and Otmar Ertl for more details +.") + (license license:bsd-3))) + (define-public ghc-tomland (package (name "ghc-tomland") base-commit: cf74986eec8ffdcc12506870fb807a1ebb43e6e3 -- 2.46.0