[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: uncrustify: Use git reference instead of GitHub archive.
From: |
guix-commits |
Subject: |
01/01: gnu: uncrustify: Use git reference instead of GitHub archive. |
Date: |
Fri, 30 Nov 2018 12:24:54 -0500 (EST) |
ambrevar pushed a commit to branch master
in repository guix.
commit b5944fcbc3c9275ca0ac8498f24b6e7974bd093c
Author: Pierre Neidhardt <address@hidden>
Date: Fri Nov 30 18:23:22 2018 +0100
gnu: uncrustify: Use git reference instead of GitHub archive.
* gnu/packages/code.scm (uncrustify): Use git reference instead of GitHub
archive.
---
gnu/packages/code.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 1e863b0..86070ac 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -542,13 +542,14 @@ independent targets.")
(name "uncrustify")
(version "0.68.1")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/uncrustify/uncrustify/archive/"
- "uncrustify-" version ".zip"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/uncrustify/uncrustify/")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1jb3hmm11m2mgnypapak2lgyyvspnmx9bxd9dxis5swaja2ddxlg"))))
+ "0gf6vjcfy8pl7idvwsd500ffj9hri62q0n79kpb6cnfprrqpbgf4"))))
(build-system cmake-build-system)
(native-inputs
`(("unzip" ,unzip)