mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Add hsc3 haskell package.
This commit is contained in:
parent
1f4c00e0fc
commit
3071a57c34
27
pkgs/applications/editors/emacs-modes/hsc3/default.nix
Normal file
27
pkgs/applications/editors/emacs-modes/hsc3/default.nix
Normal 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;
|
||||
};
|
||||
}
|
21
pkgs/development/libraries/haskell/hsc3/default.nix
Normal file
21
pkgs/development/libraries/haskell/hsc3/default.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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 { };
|
||||
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user