bootstrap: Add mes-boot0; decouple mes-boot from Mes.

* gnu/packages/commencement.scm (mes-boot0): New variable.
(mes-boot): Use it.
This commit is contained in:
Jan Nieuwenhuizen 2018-12-14 19:21:59 +01:00
parent 20dd94b82f
commit ef809e3ac0
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 25 additions and 0 deletions

View File

@ -81,11 +81,36 @@
;;;
;;; Code:
(define mes-boot0
(let ((version "0.18")
(revision "1")
(commit "a155a0a9a2d941b15c1b98e5cce787de40a8dacd"))
(package
(inherit mes)
(name "mes-boot0")
(version (if commit (string-append version "-" revision "." (string-take commit 7))
version))
(source (if commit
(origin
(method url-fetch)
(uri (string-append
"https://git.savannah.gnu.org/cgit/mes.git/snapshot/"
"mes" "-" commit
".tar.gz"))
(sha256
(base32
"14siwfwg0zlf1pa4ah8s08gsxqcazhydbwa9qvybb0knxs27aicn")))
(package-source mes)))
(native-inputs '())
(propagated-inputs '()))))
(define mes-boot
(package-with-bootstrap-guile
(package
(inherit mes)
(name "mes-boot")
(version (package-version mes-boot0))
(source (package-source mes-boot0))
(inputs '())
(propagated-inputs '())
(native-inputs