me
/
guix
Archived
1
0
Fork 0

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>
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
1 changed files with 4 additions and 6 deletions

View File

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