* [bug#33976] [PATCH] gnu: Add dev86.
@ 2019-01-04 17:24 Danny Milosavljevic
2019-01-09 16:21 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2019-01-04 17:24 UTC (permalink / raw)
To: 33976
* gnu/packages/assembly.scm (dev86): New variable.
---
gnu/packages/assembly.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm
index 763d183cf..63f799f41 100644
--- a/gnu/packages/assembly.scm
+++ b/gnu/packages/assembly.scm
@@ -122,3 +122,37 @@ abstracts over the target CPU by exposing a standardized RISC instruction set
to the clients.")
(home-page "https://www.gnu.org/software/lightning/")
(license license:gpl3+)))
+
+(define-public dev86
+ (package
+ (name "dev86")
+ (version "0.16.21")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://v3.sk/~lkundrak/dev86/Dev86src-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "154dyr2ph4n0kwi8yx0n78j128kw29rk9r9f7s2gddzrdl712jr3"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags (list "-j" "1" ; They use submakes wrong
+ "CC=gcc"
+ (string-append "PREFIX="
+ (assoc-ref %outputs "out")))
+ #:system "i686-linux" ; Standalone ld86 had problems otherwise
+ #:tests? #f ; No tests exist
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'install 'mkdir
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (mkdir-p (string-append out "/bin"))
+ (mkdir-p (string-append out "/man/man1"))
+ #t))))))
+ (synopsis "X86 16-bit assembler, C compiler and linker")
+ (description "This package provides a X86 16-bit assembler, a C compiler
+and a linker.")
+ (home-page "https://github.com/jbruchon/dev86")
+ (license license:gpl2)))
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#33976] [PATCH] gnu: Add dev86.
2019-01-04 17:24 [bug#33976] [PATCH] gnu: Add dev86 Danny Milosavljevic
@ 2019-01-09 16:21 ` Ludovic Courtès
2019-01-09 18:34 ` Danny Milosavljevic
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2019-01-09 16:21 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 33976
Hi,
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> * gnu/packages/assembly.scm (dev86): New variable.
[...]
> + (arguments
> + `(#:make-flags (list "-j" "1" ; They use submakes wrong
Maybe #:parallel-build? #f for clarity.
> + #:system "i686-linux" ; Standalone ld86 had problems otherwise
Please add ‘supported-systems’ accordingly.
> + #:tests? #f ; No tests exist
> + #:phases
> + (modify-phases %standard-phases
> + (delete 'configure)
> + (add-before 'install 'mkdir
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let ((out (assoc-ref outputs "out")))
> + (mkdir-p (string-append out "/bin"))
> + (mkdir-p (string-append out "/man/man1"))
> + #t))))))
> + (synopsis "X86 16-bit assembler, C compiler and linker")
> + (description "This package provides a X86 16-bit assembler, a C compiler
> +and a linker.")
s/X86/Intel 8086/, no?
It’d be nice to add a few words about what’s special about this
toolchain (not obvious from their README…).
> + (home-page "https://github.com/jbruchon/dev86")
> + (license license:gpl2)))
There are no headers in source files so it should be gpl2+.
OK with these changes, thank you!
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-01-10 13:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-04 17:24 [bug#33976] [PATCH] gnu: Add dev86 Danny Milosavljevic
2019-01-09 16:21 ` Ludovic Courtès
2019-01-09 18:34 ` Danny Milosavljevic
2019-01-10 8:31 ` Ludovic Courtès
2019-01-10 13:01 ` Danny Milosavljevic
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).