gnu: Add libfst.

* gnu/packages/fpga.scm (libfst): New variable.

Change-Id: Idff52e52114877e0a0259c8df98b3c1bfa20c521
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Cayetano Santos 2025-04-29 15:53:35 +02:00 committed by Maxim Cournoyer
parent f29c25ad78
commit c833e40922
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -40,6 +40,7 @@
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system qt)
@ -358,6 +359,33 @@ Lattice iCE40 FPGAs and providing simple tools for analyzing and creating bitstr
files.")
(license license:isc))))
(define-public libfst
;; There are no release nor tags.
(let ((commit "6a52070cd62ec65c29832bc95e7db493504aa7ac")
(revision "0"))
(package
(name "libfst")
(version (git-version "1.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gtkwave/libfst/")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0b1r660m5aib316jjl4nhs10y7vhhqy2mvxjip3ynahig3hpi46z"))))
(build-system meson-build-system)
(native-inputs (list gobject-introspection pkg-config))
(inputs (list bzip2))
(propagated-inputs (list zlib)) ;in Requires.private of libfst.pc
(synopsis "Fast Signal Trace (FST) format waveforms library")
(description "Libfst is a small library used to read and write
@acronym{FST, Fast Signal Trace} format waveforms.")
(home-page "https://github.com/gtkwave/libfst/")
(license (list license:expat ;libfst and fastlz-derived sources
license:bsd-2))))) ;for lz4-derived sources
(define-public nextpnr
(package
(name "nextpnr")