From 890a181ed1766b433b5bfe1a3419b50ffa6503cb Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 5 Jan 2023 08:59:52 +0100 Subject: gnu: Use HACKAGE-URI for packages from Hackage. Script-aided bulk change. --- gnu/packages/finance.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gnu/packages/finance.scm') 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")))) -- cgit 1.4.1