# -*- mode: snippet -*-
# name: guix-origin
# key: origin...
# --
(origin
(method ${1:$$(yas-choose-value "url-fetch"
"url-fetch/tarbomb"
"url-fetch/zipbomb"
"cvs-fetch"
"git-fetch"
"hg-fetch"
"svn-fetch"
"bzr-fetch")})
(uri ${1:$(cond ((equal yas-text "git-fetch") "git-reference...")
((equal yas-text "svn-fetch") "svn-reference...")
((equal yas-text "hg-fetch") "hg-reference...")
((equal yas-text "cvs-fetch") "cvs-reference...")
((equal yas-text "bzr-fetch") "bzr-reference...")
(t "(string-append \\"https://\\" version \\".tar.gz\\")"))}$0)
${1:$(cond ((equal yas-text "git-fetch")
"(file-name (git-file-name name version))")
((member yas-text '("svn-fetch" "hg-fetch" "cvs-fetch" "bzr-fetch"))
"(file-name (string-append name \\"-\\" version \\"-checkout\\"))")
(t ""))}
(sha256
(base32
"$2")))'>refslogtreecommitdiff
|
Age | Commit message (Expand) | Author |
2020-10-06 | gnu: vlang: Correctly refer to output directories....* gnu/packages/vlang.scm (vlang)[arguments]: In custom 'install phase
correctly refer to 'outputs'.
| Efraim Flashner |
2020-10-06 | gnu: vlang: Use cc-for-target....* gnu/packages/vlang.scm (vlang)[arguments]: Don't hardcode gcc in
make-flags. In custom 'patch-makefile, don't hardcode gcc.
| Efraim Flashner |
2020-10-06 | gnu: vlang: Run mosts tests....* gnu/packages/vlang.scm (vlang)[arguments]: Enable tests and add a new
‘delete-failing-tests’ and custom ‘check’ phase.
[native-inputs]: Add libx11, node, openssl, and sqlite.
| Tobias Geerinckx-Rice |
2020-10-06 | gnu: vlang: Update to 0.1.29....* gnu/packages/vlang.scm (vlang): Update to 0.1.29.
| Tobias Geerinckx-Rice |
2020-09-21 | gnu: Rename 'v' to 'vlang'....* gnu/packages/vlang.scm (v, vlang): Rename 'v' to 'vlang',
keeping 'v' as a deprecated-package.
| Mark H Weaver |