summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-10-04 08:50:27 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-10-04 08:50:27 +0300
commit26f1c93982cc82a4abc734f46873df8e6e2e1c23 (patch)
tree3cf6d0a298150ba1b2acb82f410ea9d323a0e3ce
parent53d67f46257693ff977658934483cc1c2da79969 (diff)
downloadguix-26f1c93982cc82a4abc734f46873df8e6e2e1c23.tar.gz
gnu: librecad: Don't use autogenerated tarball.
* gnu/packages/engineering.scm (librecad)[source]: Download using
git-fetch.
-rw-r--r--gnu/packages/engineering.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 073d524955..067c42b246 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -136,14 +136,14 @@
     (name "librecad")
     (version "2.2.0-rc2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/LibreCAD/LibreCAD/archive/"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/LibreCAD/LibreCAD")
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0a7fzhxkkn2s3hkgqrw3s3wyspzfla3c5lgbsjyqzvlnrp3anxnm"))))
+                "08cl4935c9vznz9qdw1zgd86rn7hl64zpfayxl07x21bhf53pn24"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases