f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
24 lines
610 B
Nix
24 lines
610 B
Nix
{ stdenv, fetchurl, emacs, unzip }:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "scala-mode2-2014-07-01";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/hvesalai/scala-mode2/archive/c154f1623f4696d26e1c88d19170e67bf6825837.zip";
|
|
sha256 = "0im2ajb1iagjldh52j8wz4yby68rs3h7shrdf1pqy5ds7s4fa8cc";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|