gnu: cppcheck: Use 'git-fetch'.
* gnu/packages/check.scm (cppcheck)[source]: Use 'git-fetch'.
This commit is contained in:
parent
28bcf80902
commit
fa44d3a63e
|
@ -298,12 +298,13 @@ format.")
|
||||||
(name "cppcheck")
|
(name "cppcheck")
|
||||||
(version "1.85")
|
(version "1.85")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/danmar/cppcheck/archive/"
|
(uri (git-reference
|
||||||
version ".tar.gz"))
|
(url "https://github.com/danmar/cppcheck")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "18qlddf1i9bk5nnvy1v2nfxjd46y8wvp3rqz2hrfxjxsyvrfq5yw"))
|
(base32 "1mk2zxypx7lq34y4i0xxgwqg6prhdzldzqmlzzr5j4safpsjynrs"))))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(home-page "http://cppcheck.sourceforge.net")
|
(home-page "http://cppcheck.sourceforge.net")
|
||||||
(synopsis "Static C/C++ code analyzer")
|
(synopsis "Static C/C++ code analyzer")
|
||||||
|
|
Loading…
Reference in New Issue