guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/41: gnu: leptonica: Fetch sources from git.


From: guix-commits
Subject: 11/41: gnu: leptonica: Fetch sources from git.
Date: Thu, 29 Nov 2018 16:44:06 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 69f7d3f424a50372cf153b3a9a382013bc05d352
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Nov 29 21:44:49 2018 +0100

    gnu: leptonica: Fetch sources from git.
    
    * gnu/packages/image.scm (leptonica)[source]: Fetch from git.
---
 gnu/packages/image.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 8168a22..e7b1065 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -510,13 +510,13 @@ collection of tools for doing simple manipulations of 
TIFF images.")
     (version "1.74.4")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/DanBloomberg/leptonica/archive/"; version
-             ".tar.gz"))
-       (file-name (string-append "leptonica-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/DanBloomberg/leptonica.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "10pw7pwccd0m0fc9rlrr2m41s7j1qvba2wcrav17pw1gclkf34i0"))))
+        (base32 "0sfg1ky0lghlq7xx0qii5167bim0wwfnnr83dl4skbj9awyvjiwi"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("gnuplot" ,gnuplot)             ;needed for test suite



reply via email to

[Prev in Thread] Current Thread [Next in Thread]