diff options
author | Andres Löh <mail@andres-loeh.de> | 2009-10-29 11:03:24 +0000 |
---|---|---|
committer | Andres Löh <mail@andres-loeh.de> | 2009-10-29 11:03:24 +0000 |
commit | cf235135f302a8cab1d0d54bb8d0fb1f40214fcb (patch) | |
tree | 2f8b36363fece5dfc7d84e002932ab283774b393 | |
parent | 5682b2e9ea38ae01d41b043c310a9c167e774a07 (diff) |
Added text and haskeline-class Haskell packages.
svn path=/nixpkgs/trunk/; revision=18011
-rw-r--r-- | pkgs/development/libraries/haskell/haskeline-class/default.nix | 12 | ||||
-rw-r--r-- | pkgs/development/libraries/haskell/text/default.nix | 11 | ||||
-rw-r--r-- | pkgs/top-level/haskell-packages.nix | 8 |
3 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/haskeline-class/default.nix b/pkgs/development/libraries/haskell/haskeline-class/default.nix new file mode 100644 index 0000000000000..40b3857c03bc1 --- /dev/null +++ b/pkgs/development/libraries/haskell/haskeline-class/default.nix @@ -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"; + }; +}) + diff --git a/pkgs/development/libraries/haskell/text/default.nix b/pkgs/development/libraries/haskell/text/default.nix new file mode 100644 index 0000000000000..3fb02befcfa18 --- /dev/null +++ b/pkgs/development/libraries/haskell/text/default.nix @@ -0,0 +1,11 @@ +{cabal}: + +cabal.mkDerivation (self : { + pname = "text"; + version = "0.5"; + sha256 = "02c3b6a57e1250dc0945d909dffdc256c2e720e751b8a75d6117522c85100fc2"; + meta = { + description = "An efficient package Unicode text type"; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 0982d4e7e4fc4..8ffeeda0e28aa 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -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; |