Subject: Re: [bug#73987] [PATCH] gnu: openfpgaloader: Update to 0.12.1.
From: Z572 <[email-masked]>
To: Cayetano Santos via Guix-patches via <[email-masked]>
Cc: [email-masked], Cayetano Santos <[email-masked]>
Date: Thu, 31 Oct 2024 15:46:01 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Cayetano Santos via Guix-patches via <[email-masked]> writes:

> * gnu/packages/fpga.scm (openfpgaloader): Update to 0.12.1.
> ---
>
> New release: updated home page and dependencies.
>
adjust message to

* gnu/packages/fpga.scm (openfpgaloader): Update to 0.12.1.
[source]: Update url. Use GIT-FILE-NAME.
[inputs]: Add eudev and libgpiod.
[home-page]: Update it.

>  gnu/packages/fpga.scm | 24 ++++++++++++++----------
>  1 file changed, 14 insertions(+), 10 deletions(-)
>
> diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
> index 545ec3482d..6d2ad9414f 100644
> --- a/gnu/packages/fpga.scm
> +++ b/gnu/packages/fpga.scm
> @@ -603,25 +603,29 @@ (define-public fftgen
>  (define-public openfpgaloader
>    (package
>      (name "openfpgaloader")
> -    (version "0.9.0")
> +    (version "0.12.1")
>      (source (origin
>                (method git-fetch)
>                (uri (git-reference
> -                     (url "https://github.com/trabucayre/openFPGALoader.git")
> -                     (commit (string-append "v" version))))
> -              (file-name (string-append name "-" version "-checkout"))
> +                    (url "https://github.com/trabucayre/openfpgaloader")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
>                (sha256
>                 (base32
> -                "1v3bwzhsrnsn304cqhd5azn68cl847qv8w8cb8bl7372jiqz5wqq"))))
> +                "0r4dxryhfa1brhyh4z5ixmr7bvcqf3p8b339k6vrmmqnwy497548"))))
>      (build-system cmake-build-system)
> -    (native-inputs
> -     (list pkg-config))
> -    (inputs
> -     (list libftdi libusb hidapi zlib))
>      (arguments
>       `(#:tests? #f)) ; No tests exist
> +    (native-inputs
> +     (list pkg-config))
> +    (inputs (list eudev
> +                  hidapi
> +                  libftdi
> +                  libgpiod
> +                  libusb
> +                  zlib))
>      (synopsis "Utility for programming FPGA")
>      (description "This package provides a program to transfer a bitstream
>  to an FPGA.")
> -    (home-page "https://f4pga.org/")
> +    (home-page "https://trabucayre.github.io/openFPGALoader")
>      (license license:asl2.0)))
>
> base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b