1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/applications/editors/emacs-modes/hsc3/default.nix
2019-04-05 13:51:56 -04:00

28 lines
658 B
Nix

{ stdenv, fetchurl, emacs }:
# this package installs the emacs-mode which
# resides in the hsc3 sources.
let version = "0.15";
in stdenv.mkDerivation {
name = "hsc3-mode-${version}";
src = fetchurl {
url = mirror://hackage/hsc3-0.15/hsc3-0.15.tar.gz;
sha256 = "2f3b15655419cf8ebe25ab1c6ec22993b2589b4ffca7c3a75ce478ca78a0bde6";
};
buildInputs = [ emacs ];
installPhase = ''
mkdir -p "$out/share/emacs/site-lisp"
cp "emacs/hsc3.el" "$out/share/emacs/site-lisp"
'';
meta = {
homepage = http://rd.slavepianos.org/?t=hsc3;
description = "hsc3 mode package for Emacs";
platforms = stdenv.lib.platforms.unix;
};
}