1 ;;; guix.scm -- Guix package definition
3 ;;; Mes --- Maxwell Equations of Software
4 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
6 ;;; guix.scm: This file is part of Mes.
8 ;;; Mes is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; Mes is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with Mes. If not, see <http://www.gnu.org/licenses/>.
23 ;; GNU Guix development package. To build and install, run:
25 ;; guix package -f guix.scm
27 ;; To build it, but not install it, run:
29 ;; guix build -f guix.scm
31 ;; To use as the basis for a development environment, run:
33 ;; guix environment -l guix.scm
37 (use-modules (gnu packages)
40 (gnu packages package-management)
42 (gnu packages version-control)
46 (guix build-system gnu))
51 (version "0.2.376bb5d6")
55 (url "https://gitlab.com/janneke/mes")
56 (commit "376bb5d62b564521734a758ceb901db59d8e563a")))
57 (file-name (string-append name "-" version))
59 (base32 "09axqivywpw0l9lm7pk1ncp6690vfv658z731z674ih73yqs5qma"))))
60 (build-system gnu-build-system)
64 ("perl" ,perl))) ; build-aux/gitlog-to-changelog
67 (modify-phases %standard-phases
68 (add-before 'install 'generate-changelog
70 (with-output-to-file "ChangeLog"
72 (display "Please run\n build-aux/gitlog-to-changelog --srcdir=<git-checkout> > ChangeLog\n")))
74 (synopsis "Maxwell Equations of Software")
76 "Mes aims to create an entirely source-based bootstrapping path.
77 The target is to [have GuixSD] boostrap from a minimal, easily
78 inspectable binary --that should be readable as source-- into
79 something close to R6RS Scheme.")
80 (home-page "https://gitlab.com/janneke/mes")
83 ;; Return it here so 'guix build/environment/package' can consume it directly.