From 0b71387b76d57f6a8d26ec3a696af24ec796abeb Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Wed, 11 Jul 2012 11:05:24 +0200 Subject: [PATCH] Add haskell-hoauth-0.3.4 --- .../libraries/haskell/hoauth/default.nix | 18 ++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/haskell/hoauth/default.nix diff --git a/pkgs/development/libraries/haskell/hoauth/default.nix b/pkgs/development/libraries/haskell/hoauth/default.nix new file mode 100644 index 0000000000000..f097a13421853 --- /dev/null +++ b/pkgs/development/libraries/haskell/hoauth/default.nix @@ -0,0 +1,18 @@ +{ cabal, binary, cryptoPubkeyTypes, curl, dataenc, entropy, mtl +, random, RSA, SHA, time, utf8String +}: + +cabal.mkDerivation (self: { + pname = "hoauth"; + version = "0.3.4"; + sha256 = "0a8a77smzhxmynfi0ayvsgibpw9aav2f7pi9j3dxjas14zg9qv2k"; + buildDepends = [ + binary cryptoPubkeyTypes curl dataenc entropy mtl random RSA SHA + time utf8String + ]; + meta = { + description = "A Haskell implementation of OAuth 1.0a protocol."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 6afeddf0ac45f..c7465d7131f29 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -856,6 +856,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); hmatrix = callPackage ../development/libraries/haskell/hmatrix {}; + hoauth = callPackage ../development/libraries/haskell/hoauth {}; + hoogle = callPackage ../development/libraries/haskell/hoogle {}; hopenssl = callPackage ../development/libraries/haskell/hopenssl {};