[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50217] [PATCH v4] gnu: Add c2ffi.
From: |
Maxime Devos |
Subject: |
[bug#50217] [PATCH v4] gnu: Add c2ffi. |
Date: |
Mon, 14 Feb 2022 16:34:14 +0100 |
User-agent: |
Evolution 3.38.3-1 |
Attila Lendvai schreef op ma 14-02-2022 om 13:31 [+0100]:
> + (let ((git-tag "12.0.0.0"))
> + (package
> + (name "c2ffi")
> + (home-page "https://github.com/rpav/c2ffi")
> + (version (string-append "v" git-tag))
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url home-page)
> + (commit version)))
Isn't it the other way around? Looking at the git repo, the git tag is
v12.0.0.0, not 12.0.0.0, and Guix strips version prefixes like "v", "V"
and "version-". Also, IIUC, the current consensus is that home pages
and source git repos are separate things, even if sometimes their URL
coincides, so the URL may need to be copied into the 'url' field.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part