mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Added Shellac Haskell package.
svn path=/nixpkgs/trunk/; revision=15775
This commit is contained in:
parent
2c096bf75f
commit
0c5786e22d
@ -0,0 +1,12 @@
|
||||
{cabal, Shellac, haskeline}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "Shellac-haskeline";
|
||||
version = "0.2";
|
||||
sha256 = "e3024b1915efd9841be9f405503f26c52524e7ea2a9c630ad651a9986e5329e0";
|
||||
propagatedBuildInputs = [Shellac haskeline];
|
||||
meta = {
|
||||
description = "Haskeline backend module for Shellac";
|
||||
};
|
||||
})
|
||||
|
@ -0,0 +1,12 @@
|
||||
{cabal, Shellac, readline}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "Shellac-readline";
|
||||
version = "0.9";
|
||||
sha256 = "3edffecf2225c199f0a4df55e3685f7deee47755ae7f8d03f5da7fac3c2ab878";
|
||||
propagatedBuildInputs = [Shellac readline];
|
||||
meta = {
|
||||
description = "Readline backend module for Shellac";
|
||||
};
|
||||
})
|
||||
|
12
pkgs/development/libraries/haskell/Shellac/Shellac.nix
Normal file
12
pkgs/development/libraries/haskell/Shellac/Shellac.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{cabal, mtl}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "Shellac";
|
||||
version = "0.9.5";
|
||||
sha256 = "a8b07918be23b7e7c3114aed7d929f95ace37fbacd82f185358f05f337f09c70";
|
||||
propagatedBuildInputs = [mtl];
|
||||
meta = {
|
||||
description = "A framework for creating shell environments";
|
||||
};
|
||||
})
|
||||
|
@ -1,10 +1,10 @@
|
||||
{ cabal, readline } :
|
||||
{ cabal, readline, ncurses } :
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "readline";
|
||||
version = "1.0.1.0";
|
||||
sha256 = "07f2f039f32bf18838a4875d0f3caa3ed9436dd52b962b2061f0bb8a3316fa1d";
|
||||
propagatedBuildInputs = [ readline ];
|
||||
propagatedBuildInputs = [ readline ncurses ];
|
||||
# experimentally link with ncursesw because ghci can't interpret ld scripts,
|
||||
# and ncurses sometimes seems to be a script pointing to ncursesw
|
||||
postConfigure = ''
|
||||
|
@ -231,7 +231,7 @@ rec {
|
||||
|
||||
readline = import ../development/libraries/haskell/readline {
|
||||
inherit cabal;
|
||||
inherit (pkgs) readline;
|
||||
inherit (pkgs) readline ncurses;
|
||||
};
|
||||
|
||||
regexBase = import ../development/libraries/haskell/regex-base {
|
||||
@ -266,6 +266,18 @@ rec {
|
||||
inherit (pkgs) SDL;
|
||||
};
|
||||
|
||||
Shellac = import ../development/libraries/haskell/Shellac/Shellac.nix {
|
||||
inherit cabal mtl;
|
||||
};
|
||||
|
||||
ShellacHaskeline = import ../development/libraries/haskell/Shellac/Shellac-haskeline.nix {
|
||||
inherit cabal Shellac haskeline;
|
||||
};
|
||||
|
||||
ShellacReadline = import ../development/libraries/haskell/Shellac/Shellac-readline.nix {
|
||||
inherit cabal Shellac readline;
|
||||
};
|
||||
|
||||
stm = import ../development/libraries/haskell/stm {
|
||||
inherit cabal;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user