diff options
author | Rikard Nordgren <hrn@posteo.net> | 2025-05-29 14:16:34 +0200 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2025-06-09 00:08:06 +0800 |
commit | daa1128b9c411f4ca32ea9715e38e71eb6ef4610 (patch) | |
tree | 32c360de72dd2e32c49525a1f58ca060e96cb737 | |
parent | 6ae4a7319fea1e19ac8017ac1989dc7b58cfdc06 (diff) |
gnu: Add acme.
* gnu/packages/assembly.scm (acme): New variable
Change-Id: I9a68f453f294717cd18edc7f2e956244e4df1d0b
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
-rw-r--r-- | gnu/packages/assembly.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm index 0c6d6d668b..572ad705d5 100644 --- a/gnu/packages/assembly.scm +++ b/gnu/packages/assembly.scm @@ -39,6 +39,7 @@ #:use-module ((guix build utils) #:select (parallel-job-count)) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix svn-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix gexp) @@ -64,6 +65,41 @@ #:use-module ((guix utils) #:select (%current-system cc-for-target))) +(define-public acme + (package + (name "acme") + (version "0.97") + (source + (origin + (method svn-fetch) + (uri (svn-reference + (url "https://svn.code.sf.net/p/acme-crossass/code-0/trunk/") + (revision 274))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1d0nh06vxxfgb6ki8c8l3j2735kdppkd1c0s3mv03pv58wivwngp")) + (modules '((guix build utils))) + ;; Public domain and no source code. + (snippet '(delete-file-recursively "ACME_Lib")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;Released version has no tests. + #:make-flags + #~(list (string-append "BINDIR=" #$output "/bin") + "-C" "src") + #:phases + #~(modify-phases %standard-phases + ;; No configure script. + (delete 'configure)))) + (home-page "https://acme-crossass.sourceforge.io/") + (synopsis "Cross assembler for the 6502, 6510, 65c02 and 65816 processors") + (description + "ACME is a 6502, 6510, 65c02 and 65816 cross assembler that supports +global/local/anonymous labels, offset assembly, conditional assembly and looping +assembly. It can include other source files as well as binaries while +assembling. Calculations can be done in integer or float mode.") + (license license:gpl2+))) + (define-public asl (let ((build "267")) (package |