gnu: librecad: Don't use autogenerated tarball.

* gnu/packages/engineering.scm (librecad)[source]: Download using
git-fetch.
This commit is contained in:
Efraim Flashner 2021-10-04 08:50:27 +03:00
parent 53d67f4625
commit 26f1c93982
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -136,14 +136,14 @@ (define-public librecad
(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