Add hsc3 haskell package.

This commit is contained in:
karsten gebbert 2014-10-25 16:12:02 +02:00 committed by Peter Simons
parent 1f4c00e0fc
commit 3071a57c34
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ 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 = http://hackage.haskell.org/package/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;
};
}

View File

@ -0,0 +1,21 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, binary, dataDefault, dataOrdlist, filepath, hashable, hosc
, network, random, safe, split, transformers
}:
cabal.mkDerivation (self: {
pname = "hsc3";
version = "0.15";
sha256 = "1rmxl1wcly74bjkw79zw9ydmiclk5716w75b4nz8xkqraijiafrg";
buildDepends = [
binary dataDefault dataOrdlist filepath hashable hosc network
random safe split transformers
];
meta = {
homepage = "http://rd.slavepianos.org/t/hsc3";
description = "Haskell SuperCollider";
license = "GPL";
platforms = self.ghc.meta.platforms;
};
})

View File

@ -9098,6 +9098,8 @@ let
haskellMode = callPackage ../applications/editors/emacs-modes/haskell { };
hsc3Mode = callPackage ../applications/editors/emacs-modes/hsc3 { };
hol_light_mode = callPackage ../applications/editors/emacs-modes/hol_light { };
htmlize = callPackage ../applications/editors/emacs-modes/htmlize { };

View File

@ -1270,6 +1270,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hsBibutils = callPackage ../development/libraries/haskell/hs-bibutils {};
hsc3 = callPackage ../development/libraries/haskell/hsc3 {};
hsdns = callPackage ../development/libraries/haskell/hsdns {};
hsemail = callPackage ../development/libraries/haskell/hsemail {};