diff options
| author | Pierre Neidhardt <mail@ambrevar.xyz> | 2018-11-30 18:23:22 +0100 |
|---|---|---|
| committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2018-11-30 18:23:22 +0100 |
| commit | b5944fcbc3c9275ca0ac8498f24b6e7974bd093c (patch) | |
| tree | 832262c82d79c12657131808199684b03fb37cfc /gnu | |
| parent | f6e952803a55100c52a49960d8201e91453f46ff (diff) | |
gnu: uncrustify: Use git reference instead of GitHub archive.
* gnu/packages/code.scm (uncrustify): Use git reference instead of GitHub archive.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/code.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 1e863b0df11..86070acdf0c 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -542,13 +542,14 @@ independent targets.") | |||
| 542 | (name "uncrustify") | 542 | (name "uncrustify") |
| 543 | (version "0.68.1") | 543 | (version "0.68.1") |
| 544 | (source (origin | 544 | (source (origin |
| 545 | (method url-fetch) | 545 | (method git-fetch) |
| 546 | (uri (string-append | 546 | (uri (git-reference |
| 547 | "https://github.com/uncrustify/uncrustify/archive/" | 547 | (url "https://github.com/uncrustify/uncrustify/") |
| 548 | "uncrustify-" version ".zip")) | 548 | (commit (string-append name "-" version)))) |
| 549 | (file-name (git-file-name name version)) | ||
| 549 | (sha256 | 550 | (sha256 |
| 550 | (base32 | 551 | (base32 |
| 551 | "1jb3hmm11m2mgnypapak2lgyyvspnmx9bxd9dxis5swaja2ddxlg")))) | 552 | "0gf6vjcfy8pl7idvwsd500ffj9hri62q0n79kpb6cnfprrqpbgf4")))) |
| 552 | (build-system cmake-build-system) | 553 | (build-system cmake-build-system) |
| 553 | (native-inputs | 554 | (native-inputs |
| 554 | `(("unzip" ,unzip) | 555 | `(("unzip" ,unzip) |
