diff --git a/pkgs/development/libraries/haskell/aeson-qq/default.nix b/pkgs/development/libraries/haskell/aeson-qq/default.nix new file mode 100644 index 000000000000..fb53dd902579 --- /dev/null +++ b/pkgs/development/libraries/haskell/aeson-qq/default.nix @@ -0,0 +1,15 @@ +{ cabal, aeson, haskellSrcMeta, hspec, parsec, text, vector }: + +cabal.mkDerivation (self: { + pname = "aeson-qq"; + version = "0.6.1"; + sha256 = "164nqk1qfb8a9c95yv5hg0zgcjcg49vrra2wi00h325bgpq6wa5n"; + buildDepends = [ aeson haskellSrcMeta parsec text vector ]; + testDepends = [ aeson hspec ]; + meta = { + homepage = "http://github.com/zalora/aeson-qq"; + description = "Json Quasiquatation for Haskell"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 46e8c6a84e42..62df38eea0ee 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -145,6 +145,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in aesonPretty = callPackage ../development/libraries/haskell/aeson-pretty {}; + aesonQq = callPackage ../development/libraries/haskell/aeson-qq {}; + alternativeIo = callPackage ../development/libraries/haskell/alternative-io {}; alsaCore = callPackage ../development/libraries/haskell/alsa-core {};