gnu: stgit: Don't use unstable tarball.
* gnu/packages/version-control.scm (stgit)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
parent
37040b85d1
commit
3154ac3288
1 changed files with 10 additions and 9 deletions
|
@ -995,14 +995,15 @@ lot easier.")
|
||||||
(package
|
(package
|
||||||
(name "stgit")
|
(name "stgit")
|
||||||
(version "0.18")
|
(version "0.18")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/ctmarinas/stgit/archive/v"
|
(method git-fetch)
|
||||||
version ".tar.gz"))
|
(uri (git-reference
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(url "https://github.com/ctmarinas/stgit.git")
|
||||||
(sha256
|
(commit (string-append "v" version))))
|
||||||
(base32
|
(file-name (git-file-name name version))
|
||||||
"19fk6vw3pgp2a98wpd4j3kyiyll5dy9bi4921wq1mrky0l53mj00"))))
|
(sha256
|
||||||
|
(base32 "0ydgg744m671nkhg7h4q2z3b9vpbc9914rbc0wcgimqfqsxkxx2y"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("git" ,git)))
|
`(("git" ,git)))
|
||||||
|
@ -1012,7 +1013,7 @@ lot easier.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
;; two tests will fail -> disable them. TODO: fix the failing tests
|
;; Two tests will fail -> disable them. TODO: fix the failing tests
|
||||||
(delete-file "t/t3300-edit.sh")
|
(delete-file "t/t3300-edit.sh")
|
||||||
(delete-file "t/t7504-commit-msg-hook.sh")
|
(delete-file "t/t7504-commit-msg-hook.sh")
|
||||||
(invoke "make" "test"))))))
|
(invoke "make" "test"))))))
|
||||||
|
|
Reference in a new issue