gnu: emacs-minitest: Switch source to the git repository.

The 0.8.0 release was over 3 years ago, and there have been ~50 commits since.

* gnu/packages/emacs.scm (emacs-minitest): Wrap with let, and change source to
the git repository.
This commit is contained in:
Christopher Baines 2018-03-26 19:46:14 +01:00
parent 5b5dbece6b
commit 158943f228
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 26 additions and 24 deletions

View File

@ -1828,34 +1828,36 @@ of files under Git version control from within Emacs.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-minitest (define-public emacs-minitest
(package (let ((commit "1aadb7865c1dc69c201cecee275751ecec33a182")
(name "emacs-minitest") (revision "1"))
(version "0.8.0") (package
(source (origin (name "emacs-minitest")
(method url-fetch) (version (git-version "0.8.0" revision commit))
(uri (string-append (source (origin
"https://github.com/arthurnn/minitest-emacs/archive/v" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/arthurnn/minitest-emacs")
(sha256 (commit commit)))
(base32 (file-name (git-file-name name commit))
"1dsb7kzvs1x6g4sgqmq73jqacb7wzm0wfkiq5m9dqdzq8mppgiqs")))) (sha256
(build-system emacs-build-system) (base32
(arguments "1l18zqpdzbnqj2qawq8hj7z7pl8hr8z9d8ihy8jaiqma915hmhj1"))))
'(#:include (cons "^snippets\\/minitest-mode\\/" %default-include) (build-system emacs-build-system)
#:exclude (delete "^[^/]*tests?\\.el$" %default-exclude))) (arguments
(propagated-inputs '(#:include (cons "^snippets\\/minitest-mode\\/" %default-include)
`(("emacs-dash" ,emacs-dash) #:exclude (delete "^[^/]*tests?\\.el$" %default-exclude)))
("emacs-f" ,emacs-f))) (propagated-inputs
(home-page "https://github.com/arthurnn/minitest-emacs") `(("emacs-dash" ,emacs-dash)
(synopsis "Emacs minitest mode") ("emacs-f" ,emacs-f)))
(description (home-page "https://github.com/arthurnn/minitest-emacs")
"The minitest mode provides commands to run the tests for the current (synopsis "Emacs minitest mode")
(description
"The minitest mode provides commands to run the tests for the current
file or line, as well as rerunning the previous tests, or all the tests for a file or line, as well as rerunning the previous tests, or all the tests for a
project. project.
This package also includes relevant snippets for yasnippet.") This package also includes relevant snippets for yasnippet.")
(license license:expat))) (license license:expat))))
(define-public emacs-el-mock (define-public emacs-el-mock
(package (package