diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-09-09 12:22:14 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-09-09 12:22:14 +0200 |
commit | 94ca5b4357af8f8921f0cb0873a7cf316f13aa69 (patch) | |
tree | 6ef30120737f26f298f7f17d86597b0b729517e0 /gnu/packages/electronics.scm | |
parent | 6750c114e3e988249f4069d0180316c6d0192350 (diff) | |
parent | db61bdd7f52270a35bd0a3a88650d98276dab20b (diff) | |
download | guix-94ca5b4357af8f8921f0cb0873a7cf316f13aa69.tar.gz guix-94ca5b4357af8f8921f0cb0873a7cf316f13aa69.zip |
Merge branch 'master' into emacs-team
Diffstat (limited to 'gnu/packages/electronics.scm')
-rw-r--r-- | gnu/packages/electronics.scm | 83 |
1 files changed, 41 insertions, 42 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index a8c07f6d94..6e6071e6e6 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -79,49 +79,48 @@ to take care of the OS-specific details when writing software that uses serial p (license license:lgpl3+))) (define-public libsigrokdecode - (package - (name "libsigrokdecode") - (version "0.5.3") - (source (origin - (method url-fetch) - (uri (string-append - "http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-" - version ".tar.gz")) - (sha256 - (base32 - "1h1zi1kpsgf6j2z8j8hjpv1q7n49i3fhqjn8i178rka3cym18265")) - (patches - (search-patches "libsigrokdecode-python3.9-fix.patch")))) - (outputs '("out" "doc")) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'bootstrap - (lambda _ - (invoke "autoconf") - (invoke "aclocal") - (invoke "automake" "-ac"))) - (add-after 'build 'build-doc - (lambda _ - (invoke "doxygen") - #t)) - (add-after 'install 'install-doc - (lambda* (#:key outputs #:allow-other-keys) - (copy-recursively "doxy/html-api" - (string-append (assoc-ref outputs "doc") - "/share/doc/libsigrokdecode")) - #t))))) - (native-inputs - (list check doxygen graphviz pkg-config automake autoconf)) - ;; libsigrokdecode.pc lists "python" in Requires.private, and "glib" in Requires. - (propagated-inputs - (list glib python)) - (build-system gnu-build-system) - (home-page "https://www.sigrok.org/wiki/Libsigrokdecode") - (synopsis "Library providing (streaming) protocol decoding functionality") - (description "Libsigrokdecode is a shared library written in C, which provides + (let ((commit "e6962b3fe8260382bb9932a1cfdd7ee7090ce267") + (revision "0")) + (package + (name "libsigrokdecode") + (version (git-version "0.5.3" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sigrokproject/libsigrokdecode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ik93p6k8hpv8ahchjnmir8paz2w718y1j8pnmrmagjx8vvqd9y6")))) + (outputs '("out" "doc")) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'build 'build-doc + (lambda _ + (invoke "doxygen") + #t)) + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (copy-recursively "doxy/html-api" + (string-append (assoc-ref outputs "doc") + "/share/doc/libsigrokdecode")) + #t))))) + (native-inputs + (list check doxygen graphviz pkg-config automake autoconf libtool)) + ;; libsigrokdecode.pc lists "python" in Requires.private, and "glib" in + ;; Requires. + (propagated-inputs + (list glib python)) + (build-system gnu-build-system) + (home-page "https://www.sigrok.org/wiki/Libsigrokdecode") + (synopsis + "Library providing (streaming) protocol decoding functionality") + (description + "Libsigrokdecode is a shared library written in C, which provides (streaming) protocol decoding functionality.") - (license license:gpl3+))) + (license license:gpl3+)))) (define-public sigrok-firmware-fx2lafw (package |