From 3d4ee38f6c416b823b23245c9caf5f6495944dbe Mon Sep 17 00:00:00 2001 From: Oliver Charles Date: Sat, 11 Jan 2014 22:15:57 +0000 Subject: [PATCH] haskellPackages.aws: New expression --- .../libraries/haskell/aws/default.nix | 27 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/libraries/haskell/aws/default.nix diff --git a/pkgs/development/libraries/haskell/aws/default.nix b/pkgs/development/libraries/haskell/aws/default.nix new file mode 100644 index 000000000000..af8b2785aa96 --- /dev/null +++ b/pkgs/development/libraries/haskell/aws/default.nix @@ -0,0 +1,27 @@ +{ cabal, attempt, base64Bytestring, blazeBuilder, caseInsensitive +, cereal, conduit, cryptoApi, cryptohash, cryptohashCryptoapi +, dataDefault, failure, filepath, httpConduit, httpTypes +, liftedBase, monadControl, mtl, resourcet, text, time +, transformers, utf8String, xmlConduit +}: + +cabal.mkDerivation (self: { + pname = "aws"; + version = "0.8.4"; + sha256 = "0p4m07lw33wd82phwfvyr1alqx3bsafnf25n60h1mss7l0rzyn0i"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + attempt base64Bytestring blazeBuilder caseInsensitive cereal + conduit cryptoApi cryptohash cryptohashCryptoapi dataDefault + failure filepath httpConduit httpTypes liftedBase monadControl mtl + resourcet text time transformers utf8String xmlConduit + ]; + meta = { + homepage = "http://github.com/aristidb/aws"; + description = "Amazon Web Services (AWS) for Haskell"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 11615bc3e5ed..52d0a401bc7f 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -577,6 +577,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x attoparsecEnumerator = callPackage ../development/libraries/haskell/attoparsec-enumerator {}; + aws = callPackage ../development/libraries/haskell/aws {}; + authenticate = callPackage ../development/libraries/haskell/authenticate {}; authenticateOauth = callPackage ../development/libraries/haskell/authenticate-oauth {};