Minor cleanups. Remove maximum version of "transformers" dependency.

This commit is contained in:
John Millikin 2012-05-13 14:28:58 -07:00
parent 12aa431864
commit 5001417174
No known key found for this signature in database
GPG key ID: 59A38F85F9C7C59E
4 changed files with 38 additions and 32 deletions

View file

@ -1,5 +1,5 @@
name: gnutls
version: 0.1.1
version: 0.1.2
license: GPL-3
license-file: license.txt
author: John Millikin <jmillikin@gmail.com>
@ -11,7 +11,7 @@ stability: experimental
homepage: https://john-millikin.com/software/haskell-gnutls/
bug-reports: mailto:jmillikin@gmail.com
synopsis: Bindings for GNU TLS
synopsis: Bindings for GNU libgnutls
description:
You almost certainly don't want to depend on this release.
.
@ -26,16 +26,16 @@ source-repository head
source-repository this
type: bazaar
location: https://john-millikin.com/branches/haskell-gnutls/0.1/
tag: anansi_0.1.1
tag: haskell-gnutls_0.1.2
library
hs-source-dirs: lib
ghc-options: -Wall -O2
build-depends:
base >=3 && < 5
base >= 4.0 && < 5.0
, bytestring >= 0.9 && < 0.10
, transformers >= 0.2 && < 0.3
, transformers >= 0.2
, monads-tf >= 0.1 && < 0.2
extra-libraries: gnutls, gnutls-extra
@ -45,5 +45,5 @@ library
Network.Protocol.TLS.GNU
other-modules:
Network.Protocol.TLS.GNU.Foreign
Network.Protocol.TLS.GNU.ErrorT
Network.Protocol.TLS.GNU.Foreign

View file

@ -1,3 +1,5 @@
{-# LANGUAGE TypeFamilies #-}
-- Copyright (C) 2010 John Millikin <jmillikin@gmail.com>
--
-- This program is free software: you can redistribute it and/or modify
@ -13,7 +15,6 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
{-# LANGUAGE TypeFamilies #-}
module Network.Protocol.TLS.GNU
( TLS
, Session
@ -40,23 +41,25 @@ module Network.Protocol.TLS.GNU
, setPriority
, CertificateType (..)
) where
import qualified Control.Concurrent.MVar as M
import Control.Monad (when, foldM, foldM_)
import Control.Monad.Trans (MonadIO, liftIO)
import qualified Control.Monad.Error as E
import Control.Monad.Error (ErrorType)
import qualified Control.Monad.Reader as R
import qualified Control.Concurrent.MVar as M
import Control.Monad.Trans (MonadIO, liftIO)
import qualified Data.ByteString as B
import qualified Data.ByteString.Unsafe as B
import qualified Data.ByteString.Lazy as BL
import qualified System.IO as IO
import qualified Data.ByteString.Unsafe as B
import qualified Foreign as F
import qualified Foreign.C as F
import qualified Network.Protocol.TLS.GNU.Foreign as F
import Foreign.Concurrent as FC
import Network.Protocol.TLS.GNU.ErrorT
import qualified System.IO as IO
import System.IO.Unsafe (unsafePerformIO)
import Network.Protocol.TLS.GNU.ErrorT
import qualified Network.Protocol.TLS.GNU.Foreign as F
data Error = Error Integer
deriving (Show)

View file

@ -1,3 +1,5 @@
{-# LANGUAGE TypeFamilies #-}
-- Copyright (C) 2010 John Millikin <jmillikin@gmail.com>
--
-- This program is free software: you can redistribute it and/or modify
@ -13,7 +15,6 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
{-# LANGUAGE TypeFamilies #-}
module Network.Protocol.TLS.GNU.ErrorT
( ErrorT (..)
, mapErrorT

View file

@ -1,3 +1,5 @@
{-# LANGUAGE ForeignFunctionInterface #-}
-- Copyright (C) 2010 John Millikin <jmillikin@gmail.com>
--
-- This program is free software: you can redistribute it and/or modify
@ -13,8 +15,8 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
{-# LANGUAGE ForeignFunctionInterface #-}
module Network.Protocol.TLS.GNU.Foreign where
import Foreign
import Foreign.C