aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/purescript.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/purescript.scm
parentd06ae5301351bf4af71dcebd6dd85b4546e1b677 (diff)
downloadguix-890a181ed1766b433b5bfe1a3419b50ffa6503cb.tar
guix-890a181ed1766b433b5bfe1a3419b50ffa6503cb.tar.gz
gnu: Use HACKAGE-URI for packages from Hackage.
Script-aided bulk change.
Diffstat (limited to 'gnu/packages/purescript.scm')
-rw-r--r--gnu/packages/purescript.scm10
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/packages/purescript.scm b/gnu/packages/purescript.scm
index da4e2a205e..dd048197b4 100644
--- a/gnu/packages/purescript.scm
+++ b/gnu/packages/purescript.scm
@@ -38,10 +38,7 @@
(source
(origin
(method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/purescript/purescript-"
- version
- ".tar.gz"))
+ (uri (hackage-uri "purescript" version))
(sha256
(base32 "06f318hdah076vkviw1ryyg2p0gpbabsp8lbm5x03f2qv92n9j1n"))))
(build-system haskell-build-system)
@@ -135,10 +132,7 @@ expressive types, inspired by Haskell and compiling to JavaScript.")
(source
(origin
(method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/purescript-cst/purescript-cst-"
- version
- ".tar.gz"))
+ (uri (hackage-uri "purescript-cst" version))
(sha256
(base32 "0r3f5lr9lrv9wpgkwj6nyl42lvxryj2lvr1w7ld4gki8ylq24n8g"))))
(build-system haskell-build-system)