gnu: emacs-parinfer-rust-mode: Fix tests.

* gnu/packages/emacs-xyz.scm (emacs-parinfer-rust-mode):
  [arguments]<test-command>: Set it.
  <phases>: Fix make test accessibility in phase 'configure.
  [native-inputs]: Add emacs-clojure-mode, emacs-ert-runner, emacs-paredit.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Nicolas Graves 2025-04-27 16:52:46 +02:00 committed by Liliana Marie Prikler
parent 13d90d602a
commit 17b77c3383
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -29443,10 +29443,15 @@ keep Parens and Indentation inline with one another.")
(build-system emacs-build-system)
(arguments
(list
#:test-command #~(list "make" "test" "CASK=")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
;; Skip all non-necessary targets.
(substitute* "Makefile"
(("^test:.*$")
"test:\n"))
(let ((parinfer-lib
(string-append
(dirname
@ -29462,6 +29467,7 @@ keep Parens and Indentation inline with one another.")
("defcustom parinfer-rust-library-directory" parinfer-lib)
("defconst parinfer-rust--lib-name"
"libparinfer_rust.so"))))))))
(native-inputs (list emacs-clojure-mode emacs-ert-runner emacs-paredit))
(inputs (list parinfer-rust-emacs))
(propagated-inputs (list emacs-track-changes))
(home-page "https://github.com/justinbarclay/parinfer-rust-mode")