summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-10 22:49:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-10 23:29:26 +0100
commit2ae2395422fe2fa8046ace78e6b06e073c8f6539 (patch)
tree1be7f9e31f4baed8b8fd49d979041a2da40576ad /gnu
parent917dc89672b09c969297b36a2e2ce637d3358785 (diff)
downloadguix-2ae2395422fe2fa8046ace78e6b06e073c8f6539.tar.gz
gnu: swh-plugins-lv2: Fetch sources from git.
* gnu/packages/audio.scm (swh-plugins-lv2)[source]: Fetch from git.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 56a8a4b541..cdfea7fc02 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -610,13 +610,14 @@ envelope follower, distortion effects, tape effects and more.")
     (name "swh-plugins-lv2")
     (version "1.0.16")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/swh/"
-                                  "lv2/archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/swh/lv2.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0j1mih0lp4fds07knp5i32in515sh0df1qi6694pmyz2wqnm295w"))))
+                "0y7nnww864mm4k6ayy2lhcws3wlbhb2gkyjbrwk921fvc18qk9mz"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ; no check target