From 26f1c93982cc82a4abc734f46873df8e6e2e1c23 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 4 Oct 2021 08:50:27 +0300 Subject: gnu: librecad: Don't use autogenerated tarball. * gnu/packages/engineering.scm (librecad)[source]: Download using git-fetch. --- gnu/packages/engineering.scm | 12 ++++++------ 1 file 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 @@ (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 -- cgit v1.2.3