gnu: shaderc: Use standard versioning scheme.

* gnu/packages/vulkan.scm (shaderc)[version]: Use GIT-VERSION with a
‘0.0.0’ prefix.
This commit is contained in:
Tobias Geerinckx-Rice 2018-03-16 16:36:10 +01:00
parent 49c4c4de85
commit 8696fbbad1
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -211,7 +212,7 @@ (define-public shaderc
(revision "1"))
(package
(name "shaderc")
(version (string-append "0.0-" revision "." (string-take commit 9)))
(version (git-version "0.0.0-" revision commit))
(source
(origin
(method git-fetch)