summary refs log tree commit diff
path: root/gnu/packages/syndication.scm
diff options
context:
space:
mode:
authorLéo Le Bouter <lle-bout@zaclys.net>2021-03-01 04:42:12 +0100
committerLéo Le Bouter <lle-bout@zaclys.net>2021-03-01 04:46:09 +0100
commit143472afa49562a11220475409ac0dfc8644a6a4 (patch)
treec5dacfacaa4f1ceb57059a6e0aa58e2916f269d1 /gnu/packages/syndication.scm
parent8e5061e6d6ef7ba00cdd2f02c15667dd03ca9002 (diff)
downloadguix-143472afa49562a11220475409ac0dfc8644a6a4.tar.gz
gnu: quiterss: Fix lint warnings.
* gnu/packages/syndication.scm (quiterss):
[source]: Use git-fetch instead of autogenerated GitHub tarball. Remove
trailing whitespace.
Diffstat (limited to 'gnu/packages/syndication.scm')
-rw-r--r--gnu/packages/syndication.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 3ebc9182fa..89ef69f6b8 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -366,13 +366,14 @@ formats, including all versions of RSS and Atom.")
     (name "quiterss")
     (version "0.19.4")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/QuiteRSS/quiterss/archive/"
-                    version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/QuiteRSS/quiterss")
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1g1kfa15fr8xskpsc15fbw22z8fljkyq6wfq02zygi4fb8hgmpyr"))
+                "1cgvl67vhn5y7bj5gbjbgk26bhb0196bgrgsp3r5fmrislarj8s6"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -383,7 +384,7 @@ formats, including all versions of RSS and Atom.")
                      "settings.value(\"Settings/statisticsEnabled2\", false)")
                     ;; Disable update check spyware by default, otherwise runs
                     ;; at every startup, nasty. Not needed on GNU Guix as a
-                    ;; feature either way. 
+                    ;; feature either way.
                     (("settings\\.value\\(\"Settings/updateCheckEnabled\", true\\)")
                      "settings.value(\"Settings/updateCheckEnabled\", false)"))
                   #t))))