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,18 +1828,20 @@ of files under Git version control from within Emacs.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-minitest (define-public emacs-minitest
(let ((commit "1aadb7865c1dc69c201cecee275751ecec33a182")
(revision "1"))
(package (package
(name "emacs-minitest") (name "emacs-minitest")
(version "0.8.0") (version (git-version "0.8.0" revision commit))
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/arthurnn/minitest-emacs/archive/v" (url "https://github.com/arthurnn/minitest-emacs")
version ".tar.gz")) (commit commit)))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name commit))
(sha256 (sha256
(base32 (base32
"1dsb7kzvs1x6g4sgqmq73jqacb7wzm0wfkiq5m9dqdzq8mppgiqs")))) "1l18zqpdzbnqj2qawq8hj7z7pl8hr8z9d8ihy8jaiqma915hmhj1"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
'(#:include (cons "^snippets\\/minitest-mode\\/" %default-include) '(#:include (cons "^snippets\\/minitest-mode\\/" %default-include)
@ -1855,7 +1857,7 @@ 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