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 {};