forked from mirrors/nixpkgs
Added text and haskeline-class Haskell packages.
svn path=/nixpkgs/trunk/; revision=18011
This commit is contained in:
parent
5682b2e9ea
commit
cf235135f3
|
@ -0,0 +1,12 @@
|
|||
{cabal, haskeline, mtl}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "haskeline-class";
|
||||
version = "0.6.1";
|
||||
sha256 = "da954acea7ae215865a647fff776df9621ee5c5133a5f95c16b1ac5646ef0b31";
|
||||
propagatedBuildInputs = [haskeline mtl];
|
||||
meta = {
|
||||
description = "Class interface for working with Haskeline";
|
||||
};
|
||||
})
|
||||
|
11
pkgs/development/libraries/haskell/text/default.nix
Normal file
11
pkgs/development/libraries/haskell/text/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "text";
|
||||
version = "0.5";
|
||||
sha256 = "02c3b6a57e1250dc0945d909dffdc256c2e720e751b8a75d6117522c85100fc2";
|
||||
meta = {
|
||||
description = "An efficient package Unicode text type";
|
||||
};
|
||||
})
|
||||
|
|
@ -183,6 +183,10 @@ rec {
|
|||
inherit cabal extensibleExceptions mtl utf8String;
|
||||
};
|
||||
|
||||
haskelineClass = import ../development/libraries/haskell/haskeline-class {
|
||||
inherit cabal haskeline mtl;
|
||||
};
|
||||
|
||||
haskellLexer = import ../development/libraries/haskell/haskell-lexer {
|
||||
inherit cabal;
|
||||
};
|
||||
|
@ -479,6 +483,10 @@ rec {
|
|||
inherit cabal HUnit QuickCheck mtl;
|
||||
};
|
||||
|
||||
text = import ../development/libraries/haskell/text {
|
||||
inherit cabal;
|
||||
};
|
||||
|
||||
/* time is Haskell Platform default, time113 is more recent but incompatible */
|
||||
time = import ../development/libraries/haskell/time {
|
||||
inherit cabal;
|
||||
|
|
Loading…
Reference in a new issue