gnu: openocd: Reinstate the change-udev-group phase.

* gnu/packages/embedded.scm (openocd)[phases]: Delete trailing #t.
{change-udev-group}: Order following unpack, not the nonexistent autoreconf
phase.
[home-page]: Use HTTPS.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Jorge Acereda 2022-01-13 21:53:14 +01:00 committed by Maxim Cournoyer
parent 2c9902cae9
commit 1e8b999717
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -618,19 +618,17 @@ (define-public openocd
(("-DPKGBLDDATE=") "-DDISABLED_PKGBLDDATE="))
(patch-shebang "bootstrap")
(invoke "./bootstrap" "nosubmodule")))
(add-after 'autoreconf 'change-udev-group
(add-after 'unpack 'change-udev-group
(lambda _
(substitute* "contrib/60-openocd.rules"
(("plugdev") "dialout"))
#t))
(("plugdev") "dialout"))))
(add-after 'install 'install-udev-rules
(lambda* (#:key outputs #:allow-other-keys)
(install-file "contrib/60-openocd.rules"
(string-append
(assoc-ref outputs "out")
"/lib/udev/rules.d/"))
#t)))))
(home-page "http://openocd.org")
"/lib/udev/rules.d/")))))))
(home-page "https://openocd.org/")
(synopsis "On-Chip Debugger")
(description "OpenOCD provides on-chip programming and debugging support
with a layered architecture of JTAG interface and TAP support.")