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