GNU bug report logs - #65934
[PATCH] gnu: Add smithforth.

Previous Next

Package: guix-patches;

Reported by: "B. Wilson" <elaexuotee <at> wilsonb.com>

Date: Thu, 14 Sep 2023 05:28:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: "B. Wilson" <elaexuotee <at> wilsonb.com>
Cc: 65934 <at> debbugs.gnu.org
Subject: [bug#65934] [PATCH] gnu: Add smithforth.
Date: Thu, 05 Oct 2023 14:46:57 +0200
Hi,

"B. Wilson" <elaexuotee <at> wilsonb.com> skribis:

> * gnu/packages/forth (smithforth): New variable.

[…]

> +(define-public smithforth
> +  (package
> +    (name "smithforth")
> +    (version "220711")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (string-append "https://dacvs.neocities.org/SF/SForth"
> +                            version "dmp.txt"))
> +        (sha256
> +          (base32 "0a39pv7529llsa3f48fmvwvlcp3f9v8qkn5ziw2l6kxf0qvli3lm"))))
> +    (build-system trivial-build-system)
> +    (inputs
> +     `(("system.fs"
> +        ,(origin
> +           (method url-fetch)
> +           (uri (string-append "https://dacvs.neocities.org/SF/system"
> +                               version "fs.txt"))
> +           (sha256
> +            (base32
> +             "17v1pp64s6n8q8w3kg48nd7zdcx2208y4svr5fpfms5lkyzg7z1m"))))))

Is this a binary VM image dump?

If so, is there source available, a way to bootstrap it?

> +    (native-inputs (list xxd))
> +    (arguments
> +     `(#:modules ((guix build utils))
> +       #:builder
> +       (begin
> +         (use-modules (guix build utils)
> +                      (ice-9 textual-ports))
> +         (let* ((sforth.dmp (assoc-ref %build-inputs "source"))
> +                (system.fs  (assoc-ref %build-inputs "system.fs"))

Please use a gexp here for #:builder and instead of the (assoc-ref …)
expressions above, use:

  #~(begin
      ;; …
      (let* ((sforth.dmp #$(package-source this-package))
             (system.fs #$(origin …)))
        …))

> +    (home-page "https://dacvs.neocities.org/SF/")
> +    (synopsis "Forth programming language for x86-64 desktop computers")

Please add a ‘supported-systems’ field so the package is clearly marked
as unsupported on architectures other than x86_64.

Thanks,
Ludo’.




This bug report was last modified 1 year and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.