mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
emacs-sbt-mode: add initial version
This commit is contained in:
parent
1fc21bd6a9
commit
80a60810ca
24
pkgs/applications/editors/emacs-modes/sbt-mode/default.nix
Normal file
24
pkgs/applications/editors/emacs-modes/sbt-mode/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl, emacs, unzip }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "sbt-mode-2014-06-05";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hvesalai/sbt-mode/archive/676f22d9658989de401d299ed0250db9b911574d.zip";
|
||||
sha256 = "0b8qrr3yp48ggl757d3a6bz633mbf4zxqpcwsh47b1ckiwa3nb2h";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip emacs ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/emacs/site-lisp"
|
||||
cp -v *.el *.elc "$out/share/emacs/site-lisp/"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/hvesalai/scala-mode2";
|
||||
description = "An Emacs mode for editing Scala code";
|
||||
license = "permissive";
|
||||
};
|
||||
}
|
@ -8343,6 +8343,8 @@ let
|
||||
|
||||
rudel = callPackage ../applications/editors/emacs-modes/rudel { };
|
||||
|
||||
sbtMode = callPackage ../applications/editors/emacs-modes/sbt-mode { };
|
||||
|
||||
scalaMode1 = callPackage ../applications/editors/emacs-modes/scala-mode/v1.nix { };
|
||||
scalaMode2 = callPackage ../applications/editors/emacs-modes/scala-mode/v2.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user