2014-10-25 15:12:02 +01:00
|
|
|
{ stdenv, fetchurl, emacs }:
|
|
|
|
|
|
|
|
# this package installs the emacs-mode which
|
|
|
|
# resides in the hsc3 sources.
|
|
|
|
|
|
|
|
let version = "0.15";
|
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "hsc3-mode";
|
|
|
|
inherit version;
|
2014-10-25 15:12:02 +01:00
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "mirror://hackage/hsc3-0.15/hsc3-0.15.tar.gz";
|
2014-10-25 15:12:02 +01:00
|
|
|
sha256 = "2f3b15655419cf8ebe25ab1c6ec22993b2589b4ffca7c3a75ce478ca78a0bde6";
|
2019-04-05 18:49:48 +01:00
|
|
|
};
|
2014-10-25 15:12:02 +01:00
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/share/emacs/site-lisp"
|
|
|
|
cp "emacs/hsc3.el" "$out/share/emacs/site-lisp"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://rd.slavepianos.org/?t=hsc3";
|
2014-10-25 15:12:02 +01:00
|
|
|
description = "hsc3 mode package for Emacs";
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|