You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
2.1 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix 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. ;;; GNU Guix 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 GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages yasm)
  19. #:use-module (gnu packages)
  20. #:use-module ((guix licenses)
  21. #:renamer (symbol-prefix-proc 'license:))
  22. #:use-module (guix packages)
  23. #:use-module (guix download)
  24. #:use-module (guix build-system gnu)
  25. #:use-module (gnu packages python)
  26. #:use-module (gnu packages xml))
  27. (define-public yasm
  28. (package
  29. (name "yasm")
  30. (version "1.2.0")
  31. (source
  32. (origin
  33. (method url-fetch)
  34. (uri (string-append "http://www.tortall.net/projects/yasm/releases/yasm-"
  35. version ".tar.gz"))
  36. (sha256
  37. (base32
  38. "0cfg7ji3ia2in628w42wrfvw2ixmmm4rghwmv2k202mraysgm3vn"))))
  39. (build-system gnu-build-system)
  40. (inputs
  41. `(("python" ,python-wrapper)
  42. ("xmlto" ,xmlto)))
  43. (home-page "http://yasm.tortall.net/")
  44. (synopsis "Rewrite of the NASM assembler")
  45. (description
  46. "Yasm is a complete rewrite of the NASM assembler.
  47. Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM
  48. and GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit
  49. Mach-O, RDOFF2, COFF, Win32, and Win64 object formats, and generates source
  50. debugging information in STABS, DWARF 2, and CodeView 8 formats.")
  51. (license (license:bsd-style "file://COPYING"
  52. "See COPYING in the distribution."))))