gnu: rtags: Don't use unstable tarball.

* gnu/packages/code.scm (rtags)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2018-10-03 22:31:03 +02:00
parent 5165fb40f4
commit 84ae0e29fd
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 6 deletions

View File

@ -403,13 +403,13 @@ functionality such as HTML output.")
(package (package
(name "rtags") (name "rtags")
(version "2.18") (version "2.18")
(home-page "https://github.com/Andersbakken/rtags")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (uri (git-reference
(string-append home-page "/archive/v" version ".tar.gz")) (url "https://github.com/Andersbakken/rtags.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(patches (search-patches "rtags-separate-rct.patch")) (patches (search-patches "rtags-separate-rct.patch"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
@ -424,7 +424,7 @@ functionality such as HTML output.")
#t))) #t)))
(sha256 (sha256
(base32 (base32
"0scjbp1z201q8njvrxqz7lk2m9b6k2rxd5q1shrng6532r7ndif2")))) "0raqjbkl1ykga4ahgl9xw49cgh3cyqcf42z36z7d6fz1fw192kg0"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:build-type "RelWithDebInfo" '(#:build-type "RelWithDebInfo"
@ -442,6 +442,7 @@ functionality such as HTML output.")
("lua" ,lua) ("lua" ,lua)
("rct" ,rct) ("rct" ,rct)
("selene" ,selene))) ("selene" ,selene)))
(home-page "https://github.com/Andersbakken/rtags")
(synopsis "Indexer for the C language family with Emacs integration") (synopsis "Indexer for the C language family with Emacs integration")
(description (description
"RTags is a client/server application that indexes C/C++ code and keeps a "RTags is a client/server application that indexes C/C++ code and keeps a