gnu: emacs-ert-runner: Update to latest upstream commit.
The latest tag is many years old, and the latest upstream branch includes
important fixes such as displaying correctly the backtrace upon encountering
errors (see:
4b6e6cb81f
).
* gnu/packages/emacs-xyz.scm (emacs-ert-runner): Update to the latest upstream
commit.
[origin]: Use GIT-FETCH instead of URL-FETCH to mitigate against GitHub's
dynamically generated tarballs.
This commit is contained in:
parent
ce6236f419
commit
82328c0105
|
@ -31,7 +31,7 @@
|
||||||
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
|
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
|
||||||
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
|
;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
|
||||||
;;; Copyright © 2017, 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2017, 2018, 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2018 Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com>
|
;;; Copyright © 2018 Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com>
|
||||||
;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
|
;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
|
||||||
;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||||
|
@ -6906,49 +6906,53 @@ Emacs.")
|
||||||
;; Tests for ert-runner have a circular dependency with ecukes, and therefore
|
;; Tests for ert-runner have a circular dependency with ecukes, and therefore
|
||||||
;; cannot be run
|
;; cannot be run
|
||||||
(define-public emacs-ert-runner
|
(define-public emacs-ert-runner
|
||||||
(package
|
(let ((version "0.7.0")
|
||||||
(name "emacs-ert-runner")
|
(revision "1")
|
||||||
(version "0.7.0")
|
(commit "90b8fdd5970ef76a4649be60003b37f82cdc1a65"))
|
||||||
(source
|
(package
|
||||||
(origin
|
(name "emacs-ert-runner")
|
||||||
(method url-fetch)
|
(version (git-version "0.7.0" revision commit))
|
||||||
(uri (string-append "https://github.com/rejeep/ert-runner.el/archive/v"
|
(source
|
||||||
version ".tar.gz"))
|
(origin
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(method git-fetch)
|
||||||
(sha256
|
(uri (git-reference
|
||||||
(base32
|
(url "https://github.com/rejeep/ert-runner.el.git")
|
||||||
"1657nck9i96a4xgl8crfqq0s8gflzp21pkkzwg6m3z5npjxklgwp"))))
|
(commit commit)))
|
||||||
(build-system emacs-build-system)
|
(file-name (git-file-name name version))
|
||||||
(inputs
|
(sha256
|
||||||
`(("emacs-ansi" ,emacs-ansi)
|
(base32
|
||||||
("emacs-commander" ,emacs-commander)
|
"04nxmyzncacj2wmzd84vv9wkkr2dk9lcb10dvygqmg3p1gadnwzz"))))
|
||||||
("emacs-dash" ,emacs-dash)
|
(build-system emacs-build-system)
|
||||||
("emacs-f" ,emacs-f)
|
(inputs
|
||||||
("emacs-s" ,emacs-s)
|
`(("emacs-ansi" ,emacs-ansi)
|
||||||
("emacs-shut-up" ,emacs-shut-up)))
|
("emacs-commander" ,emacs-commander)
|
||||||
(arguments
|
("emacs-dash" ,emacs-dash)
|
||||||
`(#:phases
|
("emacs-f" ,emacs-f)
|
||||||
(modify-phases %standard-phases
|
("emacs-s" ,emacs-s)
|
||||||
(add-after 'install 'install-executable
|
("emacs-shut-up" ,emacs-shut-up)))
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(arguments
|
||||||
(let ((out (assoc-ref outputs "out")))
|
`(#:phases
|
||||||
(substitute* "bin/ert-runner"
|
(modify-phases %standard-phases
|
||||||
(("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
|
(add-after 'install 'install-executable
|
||||||
(string-append "ERT_RUNNER=\"" out
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
"/share/emacs/site-lisp/guix.d/ert-runner-"
|
(let ((out (assoc-ref outputs "out")))
|
||||||
,version)))
|
(substitute* "bin/ert-runner"
|
||||||
(install-file "bin/ert-runner" (string-append out "/bin"))
|
(("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
|
||||||
(wrap-program (string-append out "/bin/ert-runner")
|
(string-append "ERT_RUNNER=\"" out
|
||||||
(list "EMACSLOADPATH" ":" 'prefix
|
"/share/emacs/site-lisp/guix.d/ert-runner-"
|
||||||
(string-split (getenv "EMACSLOADPATH") #\:)))
|
,version)))
|
||||||
#t))))
|
(install-file "bin/ert-runner" (string-append out "/bin"))
|
||||||
#:include (cons* "^reporters/.*\\.el$" %default-include)))
|
(wrap-program (string-append out "/bin/ert-runner")
|
||||||
(home-page "https://github.com/rejeep/ert-runner.el")
|
(list "EMACSLOADPATH" ":" 'prefix
|
||||||
(synopsis "Opinionated Ert testing workflow")
|
(string-split (getenv "EMACSLOADPATH") #\:)))
|
||||||
(description "@code{ert-runner} is a tool for Emacs projects tested
|
#t))))
|
||||||
|
#:include (cons* "^reporters/.*\\.el$" %default-include)))
|
||||||
|
(home-page "https://github.com/rejeep/ert-runner.el")
|
||||||
|
(synopsis "Opinionated Ert testing workflow")
|
||||||
|
(description "@code{ert-runner} is a tool for Emacs projects tested
|
||||||
using ERT. It assumes a certain test structure setup and can therefore make
|
using ERT. It assumes a certain test structure setup and can therefore make
|
||||||
running tests easier.")
|
running tests easier.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public ert-runner
|
(define-public ert-runner
|
||||||
(deprecated-package "ert-runner" emacs-ert-runner))
|
(deprecated-package "ert-runner" emacs-ert-runner))
|
||||||
|
|
Loading…
Reference in New Issue