gnu: Add emacs-dockerfile-mode.

* gnu/packages/emacs-xyz.scm (emacs-dockerfile-mode): New variable.
This commit is contained in:
Oleg Pykhalov 2019-03-11 20:47:02 +03:00
parent 18964a6029
commit 1f058eced3
No known key found for this signature in database
GPG Key ID: 167F8EA5001AFA9C
1 changed files with 26 additions and 0 deletions

View File

@ -13426,3 +13426,29 @@ constant expressions.")
(synopsis "Manage docker from Emacs")
(description "This package provides an Emacs interface for Docker.")
(license license:gpl3+)))
(define-public emacs-dockerfile-mode
;; Latest upstream release is too old.
(let ((commit "7223d92718f78fa3ab15667cdb2ed90cfeb579e7"))
(package
(name "emacs-dockerfile-mode")
(version (git-version "1.2" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/spotify/dockerfile-mode.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0hmipgl4rk6aih11i8mnspwdijjiwk2y0wns6lzs8bgkvy3c064r"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-s" ,emacs-s)))
(home-page "https://github.com/spotify/dockerfile-mode")
(synopsis "Major mode for editing Dockerfile")
(description
"This package provides a major mode @code{dockerfile-mode} for use with
the standard @code{Dockerfile} file format.")
(license license:asl2.0))))