guix-commits
[Top][All Lists]
Advanced

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

40/41: gnu: flameshot: Fetch sources from git.


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

rekado pushed a commit to branch master
in repository guix.

commit 743600e9db44e83819e3212646ad6deaa21453ec
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Nov 29 22:41:04 2018 +0100

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

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index c5347d6..33587bf 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1457,13 +1457,14 @@ parsing, viewing, modifying, and saving this metadata.")
     (version "0.5.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/lupoDharkael/flameshot/archive/";
-                           "v" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/lupoDharkael/flameshot.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0kp451bqgssvg8n3sg60s3fifplm9l5kxiij0yxkl864p2mhw8im"))))
+         "13h77np93r796jf289v4r687cmnpqkyqs34dm9gif4akaig74ky0"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("qttools" ,qttools)))



reply via email to

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