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 000000000000..40b3857c03bc --- /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 000000000000..3fb02befcfa1 --- /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 0982d4e7e4fc..8ffeeda0e28a 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;