mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
Add emacs minor mode writegood
This commit is contained in:
parent
177b0a0e8b
commit
351e070366
30
pkgs/applications/editors/emacs-modes/writegood/default.nix
Normal file
30
pkgs/applications/editors/emacs-modes/writegood/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{stdenv, fetchurl, emacs}:
|
||||
|
||||
let version = "1.2";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "writegood-mode-${version}";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/bnbeckwith/writegood-mode/archive/v${version}.tar.gz";
|
||||
sha256 = "1kgi2i5pq0vk751z079yp7kdw721cclfg9d9p28h3a8xbr95l7b6";
|
||||
};
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
buildPhase = ''
|
||||
emacs -L . --batch -f batch-byte-compile *.el
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/share/emacs/site-lisp
|
||||
install *.el *.elc $out/share/emacs/site-lisp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Emacs minor mode that aids in finding common writing problems";
|
||||
homepage = https://github.com/bnbeckwith/writegood-mode;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.pSub ];
|
||||
license = "GPL3";
|
||||
};
|
||||
}
|
@ -7751,6 +7751,8 @@ let
|
||||
|
||||
sunriseCommander = callPackage ../applications/editors/emacs-modes/sunrise-commander { };
|
||||
|
||||
writeGood = callPackage ../applications/editors/emacs-modes/writegood { };
|
||||
|
||||
xmlRpc = callPackage ../applications/editors/emacs-modes/xml-rpc { };
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user