Message ID | 20220418180957.19545-4-thomas@thomaslabs.org |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3546527BBEA; Mon, 18 Apr 2022 19:11:34 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 EC38227BBE9 for <patchwork@mira.cbaines.net>; Mon, 18 Apr 2022 19:11:33 +0100 (BST) Received: from localhost ([::1]:51800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1ngVqX-0001Zm-4F for patchwork@mira.cbaines.net; Mon, 18 Apr 2022 14:11:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ngVqA-0000s7-Q7 for guix-patches@gnu.org; Mon, 18 Apr 2022 14:11:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ngVq3-0002rp-GY for guix-patches@gnu.org; Mon, 18 Apr 2022 14:11:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ngVq3-0006JA-C3 for guix-patches@gnu.org; Mon, 18 Apr 2022 14:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55005] [PATCH 04/13] gnu: Add ghc-githash Resent-From: Thomas Albers <thomas@thomaslabs.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Apr 2022 18:11:03 +0000 Resent-Message-ID: <handler.55005.B55005.165030544424084@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55005 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55005@debbugs.gnu.org Cc: Thomas Albers <thomas@thomaslabs.org> Received: via spool by 55005-submit@debbugs.gnu.org id=B55005.165030544424084 (code B ref 55005); Mon, 18 Apr 2022 18:11:03 +0000 Received: (at 55005) by debbugs.gnu.org; 18 Apr 2022 18:10:44 +0000 Received: from localhost ([127.0.0.1]:40691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1ngVpj-0006GM-IM for submit@debbugs.gnu.org; Mon, 18 Apr 2022 14:10:43 -0400 Received: from gamma.thomaslabs.org ([38.242.253.186]:53654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <thomas@thomaslabs.org>) id 1ngVpg-0006FD-Ho for 55005@debbugs.gnu.org; Mon, 18 Apr 2022 14:10:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1650305439; bh=rbIDdP7GZdt3dvo7BQ46IK2qUjvY4EsTrj3a+RXtb3I=; h=references: in-reply-to:date:subject:cc:to:from; d=thomaslabs.org; b=McioIfUEwSkZy IazeQNdldM0IazAktzOp8MOovNq/5dmStGsE4yYwZ8/VYQ/GrAtB2qlYA4BS46ZmtVzoKp AUfLAKJwmmuyhxNp8+m8VqkKBstGekgO/WM8X+qyuIletjhjWGAQQ2ZALZDalntrojJPme VYCox5cjZTumknbmMjzeUIZyzezot04OWhMdvasOTblDSqRCiAqAFcQlJWe6wrn04ETcxu lJRCeRMmATUnqb6ZExki/+QeQ0cpTvRRw7GGRIbsx06c+6Nny3YwN/Jaqiecqwt87SDmxV 4OUbZ/BLQF2TanG9+vgD3XTt9QxRj9w/1/AEwL9yVGEnwpB8Q== Received: from alpha.fritz.box (ip1f13c149.dynamic.kabel-deutschland.de [31.19.193.73]) by gamma.thomaslabs.org (OpenSMTPD) with ESMTPSA id 50761e1f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 18 Apr 2022 18:10:39 +0000 (UTC) Date: Mon, 18 Apr 2022 20:09:48 +0200 Message-Id: <20220418180957.19545-4-thomas@thomaslabs.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418180957.19545-1-thomas@thomaslabs.org> References: <20220418180957.19545-1-thomas@thomaslabs.org> 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> Reply-to: Thomas Albers <thomas@thomaslabs.org> X-ACL-Warn: , Thomas Albers via Guix-patches <guix-patches@gnu.org> From: Thomas Albers via Guix-patches via <guix-patches@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
gnu: Add multiple haskell packages
|
|
Commit Message
Thomas Albers Raviola
April 18, 2022, 6:09 p.m. UTC
--- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
Comments
Thomas Albers via Guix-patches via schreef op ma 18-04-2022 om 20:09 [+0200]: > --- > gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) A commit message is mising. > diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm > index 18baf7b2f8..314209f573 100644 > --- a/gnu/packages/haskell-xyz.scm > +++ b/gnu/packages/haskell-xyz.scm > @@ -16179,3 +16179,28 @@ (define-public ghc-sqlite-simple > (description > "Mid-level SQLite client library, based on postgresql-simple.") > (license license:bsd-3))) > + > +(define-public ghc-githash > + (package > + (name "ghc-githash") > + (version "0.1.6.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://hackage.haskell.org/package/githash/githash-" > + version > + ".tar.gz")) I would Put 'version' and ".tar.gz" on one line here. > + (sha256 > + (base32 "1vkwc7j71vdrxy01vlm6xfp16kam7m9bnj9y3h217fzhq5mjywhz")))) > + (build-system haskell-build-system) > + (outputs '("out" "static")) What are the static libraries for? > + (arguments `(#:tests? #f)) Why are they disabled? Greetings, Maxime
Maxime Devos <maximedevos@telenet.be> writes: > [[PGP Signed Part:Undecided]] > Thomas Albers via Guix-patches via schreef op ma 18-04-2022 om 20:09 > [+0200]: >> --- >> gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ >> 1 file changed, 25 insertions(+) > > A commit message is mising. > You're right. Not only for that package, but for all in the series. I was convinced 'git send-email' would add them automatically like it usually does. Is there a command line option for this that I am missing? >> diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm >> index 18baf7b2f8..314209f573 100644 >> --- a/gnu/packages/haskell-xyz.scm >> +++ b/gnu/packages/haskell-xyz.scm >> @@ -16179,3 +16179,28 @@ (define-public ghc-sqlite-simple >> (description >> "Mid-level SQLite client library, based on postgresql-simple.") >> (license license:bsd-3))) >> + >> +(define-public ghc-githash >> + (package >> + (name "ghc-githash") >> + (version "0.1.6.2") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (string-append >> + "https://hackage.haskell.org/package/githash/githash-" >> + version >> + ".tar.gz")) > > I would Put 'version' and ".tar.gz" on one line here. > >> + (sha256 >> + (base32 "1vkwc7j71vdrxy01vlm6xfp16kam7m9bnj9y3h217fzhq5mjywhz")))) >> + (build-system haskell-build-system) >> + (outputs '("out" "static")) > > What are the static libraries for? > I am myself no sure. They are generated in the build process, so I thought to add them. >> + (arguments `(#:tests? #f)) > > Why are they disabled? > Tests attempt to write to the read-only file-system. I'll add a comment explaining this. Is there a way to correct patches without having to send all over again? Is it possible to fix the mistakes by adding more patches to the series on top of the existing ones? Greetings, Thomas
Thomas Albers Raviola schreef op ma 18-04-2022 om 20:35 [+0200]: > You're right. Not only for that package, but for all in the series. I > was convinced 'git send-email' would add them automatically like it > usually does. Is there a command line option for this that I am missing? Not that I'm aware of, AFAIK 'git send-email' automatically includes the commit message made during "git committ", though it won't write it for you. Greetings, Maxime.
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 18baf7b2f8..314209f573 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16179,3 +16179,28 @@ (define-public ghc-sqlite-simple (description "Mid-level SQLite client library, based on postgresql-simple.") (license license:bsd-3))) + +(define-public ghc-githash + (package + (name "ghc-githash") + (version "0.1.6.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/githash/githash-" + version + ".tar.gz")) + (sha256 + (base32 "1vkwc7j71vdrxy01vlm6xfp16kam7m9bnj9y3h217fzhq5mjywhz")))) + (build-system haskell-build-system) + (outputs '("out" "static")) + (arguments `(#:tests? #f)) + (inputs (list ghc-th-compat)) + (native-inputs (list ghc-hspec ghc-temporary ghc-unliftio)) + (home-page "https://github.com/snoyberg/githash") + (synopsis "Compile git revision info into Haskell projects") + (description + "Template Haskell splices for including the current git hash and branch +in the code of a project.") + (license license:bsd-3)))