mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
graphviz-dot-mode: add version 0.3.3
This commit is contained in:
parent
d7abf30a12
commit
58b56c268b
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl, emacs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "graphviz-dot-mode-0.3.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.graphviz.org/Misc/graphviz-dot-mode.el";
|
||||
sha256 = "6465c18cfaa519a063cf664207613f70b0a17ac5eabcfaa949b3c4c289842953";
|
||||
};
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
unpackPhase = ":";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/emacs/site-lisp"
|
||||
cp -v ${src} "$out/share/emacs/site-lisp/graphviz-dot-mode.el"
|
||||
emacs -batch --eval '(setq load-path (cons "." load-path))' -f batch-byte-compile "$out/share/emacs/site-lisp/graphviz-dot-mode.el"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.graphviz.org/";
|
||||
description = "An emacs mode for the DOT Language, used by graphviz";
|
||||
};
|
||||
}
|
@ -6847,6 +6847,8 @@ let
|
||||
|
||||
gh = callPackage ../applications/editors/emacs-modes/gh { };
|
||||
|
||||
graphvizDot = callPackage ../applications/editors/emacs-modes/graphviz-dot { };
|
||||
|
||||
gist = callPackage ../applications/editors/emacs-modes/gist { };
|
||||
|
||||
jade = callPackage ../applications/editors/emacs-modes/jade { };
|
||||
|
Loading…
Reference in New Issue
Block a user