On Sat, May 28, 2016 at 06:08:57PM -0500, Lukas Gradl wrote:
> 
> Hi Guix,
> 
> Attached is a patch for LibIAX, a library that is used by the Ring
> (formerly SFLphone).

Cool!

> Upstream seems to use no version numbers.  I used the git commit ID that
> is also refered to in the version that is bundeled with Ring.  This is
> also the latest commit to libiax.

Since there are no upstream versions, I think the version string should
use 0.0.0 to refer to the upstream version, then the Guix package
revision number, and then the 7 characters of the commit.

So, it would end up like this: 0.0.0-1.cabba9e

See here:
https://www.gnu.org/software/guix/manual/html_node/Version-Numbers.html#Version-Numbers

> +    (package
> +      (name "libiax")
> +      (version (string-append "2-" (string-take commit 7)))

By the way, what does the "2-" refer to?

Reply via email to