[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
54/210: gnu: mescc-tools-boot: Update to 0.4.
From: |
Jan Nieuwenhuizen |
Subject: |
54/210: gnu: mescc-tools-boot: Update to 0.4. |
Date: |
Sat, 8 Sep 2018 10:36:04 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit a454431aa5e4eda8f2c78da4fbb1dfea3023ce6b
Author: Jan Nieuwenhuizen <address@hidden>
Date: Mon May 28 14:51:32 2018 +0200
gnu: mescc-tools-boot: Update to 0.4.
* gnu/packages/mes.scm (mescc-tools-boot): Update to 0.4.
---
gnu/packages/mes.scm | 129 +++++++++++++++++++++++++--------------------------
1 file changed, 64 insertions(+), 65 deletions(-)
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index ffdd0ac..487aac1 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -153,73 +153,72 @@ with a Knight VM that runs Forth and Lisp.")
(license gpl3+))))
(define-public mescc-tools-boot
- (let ((version "0.3")
- (revision "0")
- (commit "3102e7ca44ab12e2eb8567763c681123e79a3c35"))
- (package-with-bootstrap-guile
- (package
- (name "mescc-tools-boot")
- (version (string-append version "-" revision "." (string-take commit
7)))
- (synopsis "Tools for the full source bootstrapping process")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://gitlab.com/janneke/mescc-tools"
- "/-/archive/" commit
- "/mescc-tools-" commit ".tar.gz"))
- (sha256
- (base32
- "0i693znfc9lmjw9pp5appyhxnjdxsx11q7znqm6yzn98cr0zhnam"))))
- (native-inputs
- `(("static-bash" ,@(assoc-ref %bootstrap-inputs "bash"))
- ("bash" ,(search-bootstrap-binary "bash" (%current-system)))
- ("tar" ,(search-bootstrap-binary "tar" (%current-system)))
- ("xz" ,(search-bootstrap-binary "xz" (%current-system)))
- ("mescc-tools-seed" ,%mescc-tools-seed)
- ("mes-source" ,(package-source mes-boot))
- ("mes-seed" ,%mes-seed)))
- (supported-systems '("i686-linux" "x86_64-linux"))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (let* ((bash (assoc-ref %build-inputs "static-bash"))
- (tar (assoc-ref %build-inputs "tar"))
- (xz (assoc-ref %build-inputs "xz"))
- (source (assoc-ref %build-inputs "source"))
- (mescc-tools-seed (assoc-ref %build-inputs
"mescc-tools-seed"))
- (mes-seed (assoc-ref %build-inputs "mes-seed"))
- (mes-source (assoc-ref %build-inputs "mes-source"))
- (out (assoc-ref %outputs "out"))
- (out/bin (string-append out "/bin")))
- (setenv "PATH" (string-append bash "/bin:"
- "../mescc-tools-seed:"
- tar "/bin:"
- xz "/bin"))
- (format (current-error-port) "PATH=~s\n" (getenv "PATH"))
- (mkdir-p "source")
- (system* "tar" "--strip=1" "-C" "source" "-xvf" source)
- (mkdir-p "mescc-tools-seed")
- (system* "tar" "--strip=1" "-C" "mescc-tools-seed" "-xvf"
mescc-tools-seed)
- (mkdir-p "mes-source")
- (system* "tar" "--strip=1" "-C" "mes-source" "-xvf" mes-source)
- (mkdir-p "mes-seed")
- (system* "tar" "--strip=1" "-C" "mes-seed" "-xvf" mes-seed)
- (chdir "source")
- (setenv "PREFIX" out)
- (setenv "MES_PREFIX" "../mes-source")
- (setenv "MESCC_TOOLS_SEED" "../mescc-tools-seed")
- (setenv "MES_SEED" "../mes-seed")
- (and (zero? (system* "sh" "build.sh"))
- (zero? (system* "sh" "check.sh"))
- (zero? (system* "sh" "install.sh")))))))
- (description
- "Mescc-tools is a collection of tools for use in a full source
+ (package-with-bootstrap-guile
+ (package
+ (name "mescc-tools-boot")
+ (version "0.4")
+ (synopsis "Tools for the full source bootstrapping process")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/oriansj/mescc-tools/archive/Release_"
+ version
+ ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1iwc8xqwzdaqckb4jkkisljrgn8ii4bl7dzk1l2kpv98hsyq9vi1"))))
+ (native-inputs
+ `(("static-bash" ,@(assoc-ref %bootstrap-inputs "bash"))
+ ("bash" ,(search-bootstrap-binary "bash" (%current-system)))
+ ("tar" ,(search-bootstrap-binary "tar" (%current-system)))
+ ("xz" ,(search-bootstrap-binary "xz" (%current-system)))
+ ("mescc-tools-seed" ,%mescc-tools-seed)
+ ("mes-source" ,(package-source mes-boot))
+ ("mes-seed" ,%mes-seed)))
+ (supported-systems '("i686-linux" "x86_64-linux"))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((bash (assoc-ref %build-inputs "static-bash"))
+ (tar (assoc-ref %build-inputs "tar"))
+ (xz (assoc-ref %build-inputs "xz"))
+ (source (assoc-ref %build-inputs "source"))
+ (mescc-tools-seed (assoc-ref %build-inputs
"mescc-tools-seed"))
+ (mes-seed (assoc-ref %build-inputs "mes-seed"))
+ (mes-source (assoc-ref %build-inputs "mes-source"))
+ (out (assoc-ref %outputs "out"))
+ (out/bin (string-append out "/bin")))
+ (setenv "PATH" (string-append bash "/bin:"
+ "../mescc-tools-seed:"
+ tar "/bin:"
+ xz "/bin"))
+ (format (current-error-port) "PATH=~s\n" (getenv "PATH"))
+ (mkdir-p "source")
+ (system* "tar" "--strip=1" "-C" "source" "-xvf" source)
+ (mkdir-p "mescc-tools-seed")
+ (system* "tar" "--strip=1" "-C" "mescc-tools-seed" "-xvf"
mescc-tools-seed)
+ (mkdir-p "mes-source")
+ (system* "tar" "--strip=1" "-C" "mes-source" "-xvf" mes-source)
+ (mkdir-p "mes-seed")
+ (system* "tar" "--strip=1" "-C" "mes-seed" "-xvf" mes-seed)
+ (chdir "source")
+ (setenv "PREFIX" out)
+ (setenv "MES_PREFIX" "../mes-source")
+ (setenv "MESCC_TOOLS_SEED" "../mescc-tools-seed")
+ (setenv "MES_SEED" "../mes-seed")
+ (and (zero? (system* "sh" "build.sh"))
+ (zero? (system* "sh" "check.sh"))
+ (zero? (system* "sh" "install.sh")))))))
+ (description
+ "Mescc-tools is a collection of tools for use in a full source
bootstrapping process. Currently consists of the M1 macro assembler and the
hex2 linker.")
- (home-page "https://github.com/oriansj/mescc-tools")
- (license gpl3+)))))
+ (home-page "https://github.com/oriansj/mescc-tools")
+ (license gpl3+))))
(define-public mes-boot
(let ((version "0.14")
- 93/210: gnu: Add tcc-boot 0.9.27., (continued)
- 93/210: gnu: Add tcc-boot 0.9.27., Jan Nieuwenhuizen, 2018/09/08
- 94/210: gnu: tcc-boot0: Update for mes 0.16., Jan Nieuwenhuizen, 2018/09/08
- 88/210: gnu: mes-boot: Update to 0.16., Jan Nieuwenhuizen, 2018/09/08
- 82/210: Revert "REMOVEME: %fake-bootstrap => #t.", Jan Nieuwenhuizen, 2018/09/08
- 84/210: gnu: mescc-tools-boot: Update for linux-4.17 elf32-header fix., Jan Nieuwenhuizen, 2018/09/08
- 83/210: gnu: %mescc-tools-seed: Update for linux-4.17 elf32-header fix., Jan Nieuwenhuizen, 2018/09/08
- 57/210: gnu: %mes-seed: Update for 0.15., Jan Nieuwenhuizen, 2018/09/08
- 71/210: gnu: gcc-boot: Update to 2.95.3., Jan Nieuwenhuizen, 2018/09/08
- 67/210: Revert "gnu: binutils-boot: Update to 2.30.", Jan Nieuwenhuizen, 2018/09/08
- 58/210: gnu: mes-boot: Update to 0.15., Jan Nieuwenhuizen, 2018/09/08
- 54/210: gnu: mescc-tools-boot: Update to 0.4.,
Jan Nieuwenhuizen <=
- 50/210: gnu: mes-boot: Update to 0.14., Jan Nieuwenhuizen, 2018/09/08
- 49/210: gnu: %mes-seed: Update for mes 0.14., Jan Nieuwenhuizen, 2018/09/08
- 45/210: gnu: %mes-seed: Update for mes 0.13., Jan Nieuwenhuizen, 2018/09/08
- 48/210: gnu: tcc-boot: Build with mes-boot., Jan Nieuwenhuizen, 2018/09/08
- 42/210: gnu: mescc-tools-boot: Remove stage0 dependency., Jan Nieuwenhuizen, 2018/09/08
- 43/210: gnu: stage0-boot: Update to new gitlab url scheme., Jan Nieuwenhuizen, 2018/09/08
- 36/210: gnu: nyacc-boot: Update to 0.80.42., Jan Nieuwenhuizen, 2018/09/08
- 33/210: gnu: Update mes-boot: Add qsort., Jan Nieuwenhuizen, 2018/09/08
- 27/210: gnu: Update tcc-boot: avoid mescc bug struct foo bar = *baz ()., Jan Nieuwenhuizen, 2018/09/08
- 38/210: gnu: mes-boot: Update to 0.12., Jan Nieuwenhuizen, 2018/09/08