artwork: Use a descriptive name for the source directory.

* gnu/artwork.scm (%artwork-repository): Set a descriptive file-name and
use the full commit hash when fetching.
This commit is contained in:
Leo Famulari 2017-06-03 19:48:52 -04:00
parent 4679dd6967
commit 94db92f78e
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 12 additions and 8 deletions

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -28,13 +29,16 @@
;;; Code: ;;; Code:
(define %artwork-repository (define %artwork-repository
(origin (let ((commit "6998d30425289b087c64f63e7415df2241e591db"))
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "git://git.savannah.gnu.org/guix/guix-artwork.git") (uri (git-reference
(commit "6998d30"))) (url "git://git.savannah.gnu.org/guix/guix-artwork.git")
(sha256 (commit commit)))
(base32 (file-name (string-append "guix-artwork-" (string-take commit 7)
"0k7j3pj9s3zqiqmfkapypssvzx3f12yr0cc2rbzxqfii0b4clp1j")))) "-checkout"))
(sha256
(base32
"0k7j3pj9s3zqiqmfkapypssvzx3f12yr0cc2rbzxqfii0b4clp1j")))))
;;; artwork.scm ends here ;;; artwork.scm ends here