mescc-tools.scm 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. ;;; mescc-tools.scm -- Guix package definition
  2. ;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
  3. ;;; Copyright 2016 Jeremiah Orians
  4. ;;; guix.scm: This file is part of mescc-tools.
  5. ;;;
  6. ;;; mescc-tools is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; mescc-tools is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with mescc-tools. If not, see <http://www.gnu.org/licenses/>.
  18. ;;; Commentary:
  19. ;; GNU Guix development package. To build and install, run:
  20. ;; guix package -f guix.scm
  21. ;;
  22. ;; To build it, but not install it, run:
  23. ;; guix build -f guix.scm
  24. ;;
  25. ;; To use as the basis for a development environment, run:
  26. ;; guix environment -l guix.scm
  27. ;;
  28. ;;; Code:
  29. (use-modules (ice-9 match)
  30. (gnu packages)
  31. (gnu packages gcc)
  32. (guix build-system gnu)
  33. (guix download)
  34. (guix licenses)
  35. (guix packages))
  36. (define-public mescc-tools
  37. (package
  38. (name "mescc-tools")
  39. (version "0.5.2")
  40. (source (origin
  41. (method url-fetch)
  42. (uri (string-append "http://git.savannah.nongnu.org/cgit/mescc-tools.git/snapshot/mescc-tools-Release_" version ".tar.gz"))
  43. (sha256
  44. (base32 "01x7bhmgwyf6mc2g1hcvibhps98nllacqm4f0j5l51b1mbi18pc2"))))
  45. (build-system gnu-build-system)
  46. (arguments
  47. `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
  48. #:test-target "test"
  49. #:phases
  50. (modify-phases %standard-phases
  51. (delete 'configure))))
  52. (synopsis "tools for the full source bootstrapping process")
  53. (description
  54. "Mescc-tools is a collection of tools for use in full source bootstrapping process.
  55. Currently consists of the M0 macro assembler and the hex2 linker.")
  56. (home-page "https://github.com/oriansj/mescc-tools")
  57. (license gpl3+)))
  58. ;; Return it here so `guix build/environment/package' can consume it directly.
  59. mescc-tools