diff mbox series

[bug#38525] Enchive: Update to 3.5

Message ID CAO7Ox=ZuO57zgCtpDZAFf1c3wWYJiXMm3hFKdVuxjx2Lo4jvYQ@mail.gmail.com
State Accepted
Headers show
Series [bug#38525] Enchive: Update to 3.5 | expand

Commit Message

Nicolò Balzarotti Dec. 8, 2019, 11:33 a.m. UTC
Hello guix!

I updated enchive. Lint was complaining about the github autogenerated url,
so I changed the source git-fetch. Package checked with guix check.

Thanks!

Comments

Efraim Flashner Dec. 11, 2019, 2:53 a.m. UTC | #1
Thanks. Patch pushed with minor changes to the commit message

On Sun, Dec 08, 2019 at 12:33:22PM +0100, Nicolò Balzarotti wrote:
> From fb1e8cba0e257bd26bbd9dc77ca095ebb051eecc Mon Sep 17 00:00:00 2001
> From: nixo <nicolo@nixo.xyz>
> Date: Sun, 8 Dec 2019 12:27:31 +0100
> Subject: [PATCH] gnu: enchive: Update to 3.5
> 
> * gnu/packages/crypto.scm (enchive): Update to 3.5.
>   [source]: Replace url-fetch with git-fetch (lint: autogenerated tarball).
> ---
>  gnu/packages/crypto.scm | 17 +++++++++--------
>  1 file changed, 9 insertions(+), 8 deletions(-)
> 
> diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
> index 80c598ed86..e63823de2c 100644
> --- a/gnu/packages/crypto.scm
> +++ b/gnu/packages/crypto.scm
> @@ -852,15 +852,16 @@ cannot sign messages in OpenBSD format yet.")
>  (define-public enchive
>    (package
>      (name "enchive")
> -    (version "3.4")
> +    (version "3.5")
>      (source (origin
> -              (method url-fetch)
> -              (uri (string-append "https://github.com/skeeto/" name "/archive/"
> -                                  version ".tar.gz"))
> -              (sha256
> -               (base32
> -                "17hrxpp4cpn10bk48sfvfjc8hghky34agsnypam1v9f36kbalqfk"))
> -              (file-name (string-append name "-" version ".tar.gz"))))
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://github.com/skeeto/enchive")
> +                      (commit version)))
> +                (sha256
> +                 (base32
> +                  "0fdrfc5l42lj2bvmv9dmkmhmm7qiszwk7cmdvnqad3fs7652g0qa"))
> +                (file-name (git-file-name name version))))
>      (build-system gnu-build-system)
>      (arguments
>       '(#:tests? #f                      ; no check target         '
> -- 
> 2.24.0
>
diff mbox series

Patch

From fb1e8cba0e257bd26bbd9dc77ca095ebb051eecc Mon Sep 17 00:00:00 2001
From: nixo <nicolo@nixo.xyz>
Date: Sun, 8 Dec 2019 12:27:31 +0100
Subject: [PATCH] gnu: enchive: Update to 3.5

* gnu/packages/crypto.scm (enchive): Update to 3.5.
  [source]: Replace url-fetch with git-fetch (lint: autogenerated tarball).
---
 gnu/packages/crypto.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 80c598ed86..e63823de2c 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -852,15 +852,16 @@  cannot sign messages in OpenBSD format yet.")
 (define-public enchive
   (package
     (name "enchive")
-    (version "3.4")
+    (version "3.5")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/skeeto/" name "/archive/"
-                                  version ".tar.gz"))
-              (sha256
-               (base32
-                "17hrxpp4cpn10bk48sfvfjc8hghky34agsnypam1v9f36kbalqfk"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/skeeto/enchive")
+                      (commit version)))
+                (sha256
+                 (base32
+                  "0fdrfc5l42lj2bvmv9dmkmhmm7qiszwk7cmdvnqad3fs7652g0qa"))
+                (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
      '(#:tests? #f                      ; no check target         '
-- 
2.24.0