From ab07a41756789b3648676e3d3685dbf58cfd6089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Mon, 14 Nov 2011 16:57:26 +0000 Subject: [PATCH] Added haskell-bytestring-lexing. svn path=/nixpkgs/trunk/; revision=30428 --- .../haskell/bytestring-lexing/default.nix | 18 ++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/haskell/bytestring-lexing/default.nix diff --git a/pkgs/development/libraries/haskell/bytestring-lexing/default.nix b/pkgs/development/libraries/haskell/bytestring-lexing/default.nix new file mode 100644 index 000000000000..446a628dd050 --- /dev/null +++ b/pkgs/development/libraries/haskell/bytestring-lexing/default.nix @@ -0,0 +1,18 @@ +{ cabal, alex }: + +cabal.mkDerivation (self: { + pname = "bytestring-lexing"; + version = "0.2.1"; + sha256 = "0pibn4phfp346i6i8zwic5zlbq9lqa6ifyx6bdl3p5c8jy3v23r9"; + buildTools = [ alex ]; + meta = { + homepage = "http://code.haskell.org/~dons/code/bytestring-lexing"; + description = "Parse literals efficiently from bytestrings"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 3dc22ab3557a..bbcfe9289e3d 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -431,6 +431,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); bytestringNums = callPackage ../development/libraries/haskell/bytestring-nums {}; + bytestringLexing = callPackage ../development/libraries/haskell/bytestring-lexing {}; + bytestringMmap = callPackage ../development/libraries/haskell/bytestring-mmap {}; bytestringTrie = callPackage ../development/libraries/haskell/bytestring-trie {};