mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-projectile: Activate tests.
* gnu/packages/emacs-xyz.scm (emacs-projectile)[source]: Use Git repository instead of released tarball to get the test file. [arguments]: Activate tests, and fix a failing one.
This commit is contained in:
parent
b438e1f231
commit
8f3e10ae81
1 changed files with 22 additions and 8 deletions
|
@ -11836,15 +11836,29 @@ like @code{org-edit-src-code} but for arbitrary regions.")
|
||||||
(package
|
(package
|
||||||
(name "emacs-projectile")
|
(name "emacs-projectile")
|
||||||
(version "2.7.0")
|
(version "2.7.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://raw.githubusercontent.com/bbatsov"
|
(method git-fetch)
|
||||||
"/projectile/v" version "/projectile.el"))
|
(uri (git-reference
|
||||||
(file-name (string-append "projectile-" version ".el"))
|
(url "https://github.com/bbatsov/projectile")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1jd1csrvafy49dcfag0ccpqbdn5my183h325bv6j4x4c3a6qbp98"))))
|
"0ybd41iss8vd56qv6czpxqq7a99s4h7i3a2r4khy4rf5blj5zdqi"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:tests? #t
|
||||||
|
#:test-command #~(list "buttercup" "-L" ".")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'fix-failing-test
|
||||||
|
(lambda _
|
||||||
|
(substitute* "test/projectile-test.el"
|
||||||
|
(("user-emacs-directory") "\".\"")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list emacs-buttercup))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list emacs-dash emacs-pkg-info))
|
(list emacs-dash emacs-pkg-info))
|
||||||
(home-page "https://github.com/bbatsov/projectile")
|
(home-page "https://github.com/bbatsov/projectile")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue