packages feed

zip-conduit 0.2 → 0.2.1

raw patch · 2 files changed

+13/−7 lines, 2 filesdep ~bytestringdep ~directorydep ~hpc

Dependency ranges changed: bytestring, directory, hpc

Files

src/Codec/Archive/Zip.hs view
@@ -1,3 +1,5 @@+{-# LANGUAGE CPP #-}+ {- | Sink entries to the archive:  @@@ -266,7 +268,11 @@ -- | Appends file to the 'Zip'. addFile :: Handle -> Zip -> FilePath -> IO Zip addFile h zip f = do+#if MIN_VERSION_directory(1,2,0)+    m  <- getModificationTime f+#else     m  <- clockTimeToUTCTime <$> getModificationTime f+#endif     fh <- appendLocalFileHeader h zip (dropDrive f) Deflate m     dd <- runResourceT $ CB.sourceFile f $$ sinkData h Deflate     writeDataDescriptorFields h dd offset
zip-conduit.cabal view
@@ -1,5 +1,5 @@ Name:                zip-conduit-Version:             0.2+Version:             0.2.1 Synopsis:            Working with zip archives via conduits. Description:         Working with zip archives via conduits. License:             BSD3@@ -18,11 +18,11 @@    Build-depends:       base           >= 4.3 && < 5-    , bytestring     == 0.9.*+    , bytestring     >= 0.9 && < 0.11     , cereal         == 0.3.*     , conduit        == 0.5.*     , digest         == 0.0.*-    , directory      == 1.1.*+    , directory      >= 1.1 && < 1.3     , filepath       == 1.3.*     , mtl            == 2.1.*     , old-time       >= 1.0 && < 1.2@@ -49,12 +49,12 @@    Build-depends:       base           >= 4.3 && < 5-    , bytestring     == 0.9.*+    , bytestring     >= 0.9 && < 0.11     , conduit        == 0.5.*-    , directory      == 1.1.*+    , directory      >= 1.1 && < 1.3     , filepath       == 1.3.*     , HUnit          == 1.2.*-    , hpc            == 0.5.*+    , hpc            >= 0.5 && < 0.7     , mtl            == 2.1.*     , temporary      == 1.1.*     , test-framework == 0.6.*@@ -73,7 +73,7 @@    Build-depends:       base           >= 4.3 && < 5-    , bytestring     == 0.9.*+    , bytestring     >= 0.9 && < 0.11     , criterion      == 0.6.*     , filepath       == 1.3.*     , LibZip         == 0.10.*