summary refs log tree commit diff
path: root/gnu/packages/finance.scm
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2023-01-05 08:59:52 +0100
committerLars-Dominik Braun <lars@6xq.net>2023-02-26 10:20:14 +0100
commit890a181ed1766b433b5bfe1a3419b50ffa6503cb (patch)
treec6366fb7401dc1115ef312cd4fa84f8e79707ac5 /gnu/packages/finance.scm
parentd06ae5301351bf4af71dcebd6dd85b4546e1b677 (diff)
downloadguix-890a181ed1766b433b5bfe1a3419b50ffa6503cb.tar.gz
gnu: Use HACKAGE-URI for packages from Hackage.
Script-aided bulk change.
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r--gnu/packages/finance.scm8
1 files changed, 2 insertions, 6 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 7f681b5b55..ea3b7c8577 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -221,10 +221,7 @@ line client and a client based on Qt.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://hackage.haskell.org/package/hledger/hledger-"
-             version
-             ".tar.gz"))
+       (uri (hackage-uri "hledger" version))
        (sha256
         (base32
          "07fcfkmv4cy92njnf2qc7jh0naz96q962hxldcd7hk4k7ddv0mss"))))
@@ -1976,8 +1973,7 @@ generate a variety of reports from them, and provides a web interface.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "https://hackage.haskell.org/package/"
-                           "hledger-web/hledger-web-" version ".tar.gz"))
+       (uri (hackage-uri "hledger-web" version))
        (sha256
         (base32
          "0ivszqcypw0j2wn4r7fv7dqm1pvr0b1y6rqpxagzyk8cxn3ic9g2"))))