packages feed

zip-archive

Library for creating and modifying zip archives.

view on Hackage

The zip-archive library provides functions for creating, modifying, and extracting files from zip archives. The zip archive format is documented in <http://www.pkware.com/documents/casestudies/APPNOTE.TXT>. Certain simplifying assumptions are made about the zip archives: in particular, there is no support for strong encryption, zip files that span multiple disks, ZIP64, OS-specific file attributes, or compression methods other than Deflate. However, the library should be able to read the most common zip archives, and the archives it produces should be readable by all standard unzip programs. Archives are built and extracted in memory, so manipulating large zip files will consume a lot of memory. If you work with large zip files or need features not supported by this library, a better choice may be <http://hackage.haskell.org/package/zip zip>, which uses a memory-efficient streaming approach. However, zip can only read and write archives inside instances of MonadIO, so zip-archive is a better choice if you want to manipulate zip archives in "pure" contexts. As an example of the use of the library, a standalone zip archiver and extractor is provided in the source distribution.
versionuploadeduploaderchanges
0.52026-09-21 18:19 UTCJohnMacFarlane+671/−109 lines, 5 filesdep −mtldep −prettydep ~basePVP ok
0.4.3.22024-04-09 16:45 UTCJohnMacFarlane1 revisions+15/−4 lines, 3 filesdep ~basePVP ok
0.4.3.12024-03-07 18:24 UTCJohnMacFarlane1 revisions+85/−42 lines, 3 filesdep ~basePVP ok
0.4.32023-03-04 06:27 UTCJohnMacFarlane+70/−76 lines, 4 filesdep ~binaryPVP: major bump suggested
0.4.2.22022-09-26 00:39 UTCJohnMacFarlane+10/−3 lines, 3 filesPVP ok
0.4.2.12022-03-03 00:30 UTCJohnMacFarlane+8/−2 lines, 3 filesPVP ok
0.4.22022-03-02 05:49 UTCJohnMacFarlane+94/−54 lines, 4 filesdep ~basePVP ok
0.4.12019-04-23 06:10 UTCJohnMacFarlane1 revisions+23/−12 lines, 3 filesdep ~directoryPVP ok
0.42018-12-04 00:24 UTCJohnMacFarlane1 revisions+271/−68 lines, 8 filesdep ~directorysetup-changedbinary-addedPVP ok
0.3.32018-06-25 19:51 UTCJohnMacFarlane1 revisions+39/−35 lines, 3 filesdep −old-timedep ~basedep ~directoryPVP ok
0.3.2.52018-05-29 22:42 UTCJohnMacFarlane1 revisions+8/−2 lines, 2 filesPVP ok
0.3.2.42018-02-21 22:28 UTCJohnMacFarlane1 revisions+6/−2 lines, 2 filesPVP ok
0.3.2.32018-02-12 19:41 UTCJohnMacFarlane1 revisions+20/−5 lines, 4 filesbuild-type:Customsetup-changedPVP ok
0.3.2.22018-01-23 03:47 UTCJohnMacFarlane1 revisions+8/−3 lines, 3 filesdep ~directoryPVP ok
0.3.2.12018-01-22 20:24 UTCJohnMacFarlane1 revisions+194/−47 lines, 5 filesdep ~basedep ~directorybinary-addedPVP: minor bump suggested
0.3.22018-01-17 18:09 UTCJohnMacFarlane+94/−17 lines, 5 filesPVP ok
0.3.1.12017-06-19 08:40 UTCJohnMacFarlane1 revisions+44/−23 lines, 8 filesdep ~binarybinary-addedPVP ok
0.3.12017-06-04 11:53 UTCJohnMacFarlane+102/−100 lines, 6 filessetup-changednew-component:exe:zip-archivePVP ok
0.3.0.72017-06-04 10:30 UTCJohnMacFarlane+8/−2 lines, 3 filesPVP ok
0.3.0.62017-04-25 08:01 UTCJohnMacFarlane+10/−3 lines, 2 filesdep ~bytestringPVP ok
0.3.0.52016-09-12 13:28 UTCJohnMacFarlane2 revisions+8/−4 lines, 3 filesPVP ok
0.3.0.42016-07-18 17:37 UTCJohnMacFarlane1 revisions+120/−56 lines, 4 filesdep +temporarydep ~bytestringPVP ok
0.3.0.22016-04-03 23:49 UTCJohnMacFarlane+21/−2 lines, 4 filesPVP ok
0.3.0.12016-03-28 23:24 UTCJohnMacFarlane+4/−3 lines, 2 filesPVP ok
0.32016-02-24 06:43 UTCJohnMacFarlane+94/−16 lines, 4 filesPVP ok
0.2.3.72015-01-21 19:09 UTCJohnMacFarlane+16/−3 lines, 3 filesbuild-type:Customsetup-changedPVP ok
0.2.3.62015-01-21 01:16 UTCJohnMacFarlane+7/−3 lines, 3 filesPVP ok
0.2.3.52014-11-08 20:51 UTCJohnMacFarlane+52/−4 lines, 3 filesdep ~binaryPVP ok
0.2.3.42014-08-11 19:13 UTCJohnMacFarlane+19/−7 lines, 3 filesPVP ok
0.2.3.32014-08-11 18:55 UTCJohnMacFarlane+67/−18 lines, 4 filesPVP ok
0.2.3.22014-05-16 17:11 UTCJohnMacFarlane+7/−4 lines, 3 filesdep ~directoryPVP ok
0.2.3.12014-05-16 00:30 UTCJohnMacFarlane+4/−38 lines, 2 filesdep ~binarydep ~directoryPVP ok
0.2.32014-05-15 20:43 UTCJohnMacFarlane1 revisions+10/−3 lines, 2 filesdep ~binaryPVP ok
0.2.2.12014-04-26 17:49 UTCJohnMacFarlane+13/−13 lines, 2 files
0.2.22014-03-10 04:10 UTCJohnMacFarlane+2/−2 lines, 2 files
0.2.12014-02-05 20:03 UTCJohnMacFarlane+7/−3 lines, 2 files
0.22013-12-10 17:50 UTCJohnMacFarlane+17/−6 lines, 2 filesdep +textdep −utf8-string
0.1.42013-10-17 18:15 UTCJohnMacFarlane+7/−3 lines, 2 files
0.1.3.42013-03-05 16:26 UTCJohnMacFarlane+730/−727 lines, 4 filesdep ~basedep ~directoryPVP ok
0.1.3.32013-01-02 22:10 UTCJohnMacFarlane+44/−3 lines, 2 filesdep ~binaryPVP ok
0.1.3.22013-01-02 18:05 UTCJohnMacFarlane+2/−2 lines, 2 filesPVP ok
0.1.3.12013-01-01 17:15 UTCJohnMacFarlane+4/−1 lines, 2 filesdep ~directory
0.1.32012-12-31 17:50 UTCJohnMacFarlane1 revisions+103/−117 lines, 3 filesdep ~binarydep ~directory
0.1.2.12012-10-16 17:16 UTCJohnMacFarlane+136/−440 lines, 6 filesdep +HUnitdep +processdep +timedep ~basedep ~binarydep ~bytestringPVP ok
0.1.1.82012-04-06 02:06 UTCJohnMacFarlane1 revisions+29/−18 lines, 3 filesPVP ok
0.1.1.72011-01-30 21:54 UTCJohnMacFarlane1 revisions+11/−7 lines, 3 filesPVP ok
0.1.1.62010-01-06 03:25 UTCJohnMacFarlane1 revisions+8/−1 lines, 2 filesPVP ok
0.1.1.52009-12-31 15:18 UTCJohnMacFarlane1 revisions+2/−4 lines, 2 filesPVP ok
0.1.1.42009-10-20 03:55 UTCJohnMacFarlane1 revisions+32/−8 lines, 3 filesPVP ok
0.1.1.32009-01-05 16:13 UTCJohnMacFarlane1 revisions+2/−10 lines, 3 filesPVP ok
0.1.1.22009-01-05 02:46 UTCJohnMacFarlane1 revisions+11/−126 lines, 3 filesdep +digestPVP ok
0.1.1.12008-10-19 16:54 UTCJohnMacFarlane1 revisions+5/−4 lines, 2 filesdep ~utf8-stringPVP ok
0.1.12008-09-03 18:39 UTCJohnMacFarlane1 revisions+3/−2 lines, 1 filesPVP: major bump suggested
0.12008-09-03 04:00 UTCJohnMacFarlane1 revisions+1341/−0 lines, 8 filesdep +arraydep +basedep +binarysetup-changed

Dependencies of zip-archive-0.5

HUnit >=0 1.6.1.0 → 1.6.2.0
2021-01-19 18:27 UTC1.6.2.0+48/−42 lines, 5 filesdep ~call-stackPVP: major bump suggested
2020-10-31 12:09 UTC1.6.1.0+35/−21 lines, 4 filesPVP ok
2017-03-20 01:42 UTC1.6.0.0+9/−5 lines, 4 filesdep ~basePVP ok
2016-10-16 03:35 UTC1.5.0.0+47/−27 lines, 5 filesPVP ok
2016-10-07 03:13 UTC1.4.0.0+761/−778 lines, 12 filesdep +call-stackPVP ok

showing 5 of 22 versions

array >=0 0.5.7.0 → 0.5.8.0
2024-09-08 07:13 UTC0.5.8.0+204/−8 lines, 6 filesdep ~basePVP ok
2024-04-12 14:38 UTC0.5.7.0+34/−17 lines, 9 filesdep ~basePVP: major bump suggested
2023-07-10 15:24 UTC0.5.6.0+159/−39 lines, 8 filesdep ~basenew-uploaderPVP ok
2023-02-13 16:01 UTC0.5.5.0+8/−4 lines, 3 filesdep ~basenew-uploaderPVP ok
2019-09-01 06:48 UTC0.5.4.0+33/−8 lines, 5 filesdep ~basesetup-changedPVP: major bump suggested

showing 5 of 18 versions

base >=4.11 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

binary >=0.7.2 0.9.0.0 → 0.10.0.0
2018-08-02 10:08 UTC0.10.0.0+504/−101 lines, 10 filesdep +generic-derivingdep −tardep ~Cabaldep ~QuickCheckPVP ok
2017-03-13 22:00 UTC0.9.0.0+245/−690 lines, 15 filesdep +tardep −base-orphansdep −binarydep −generic-derivingdep ~Cabaldep ~QuickCheckdep ~basePVP ok
2025-01-28 16:34 UTC0.8.9.3+8/−3 lines, 3 filesPVP ok
2024-04-12 15:16 UTC0.8.9.2+23/−9 lines, 5 filesPVP: major bump suggested
2022-08-04 23:02 UTC0.8.9.1+13/−12 lines, 3 filesPVP ok

showing 5 of 50 versions

bytestring >=0.10.0 0.12.1.0 → 0.12.2.0
2024-12-06 21:41 UTC0.12.2.0+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

containers >=0 0.8 → 0.8.1
2026-10-04 06:08 UTC0.8.1+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

digest >=0.0.0.1 0.0.2.0 → 0.0.2.1
2024-02-10 14:26 UTC0.0.2.1+5/−2 lines, 2 filesPVP ok
2023-12-13 11:48 UTC0.0.2.0+1619/−32 lines, 22 filesdep ~basedep ~bytestringPVP ok
2023-03-12 14:11 UTC0.0.1.7+6/−2 lines, 2 filesdep ~bytestringPVP ok
2023-03-05 21:35 UTC0.0.1.6+11/−2 lines, 2 filesPVP ok
2023-01-24 15:49 UTC0.0.1.5+14/−3 lines, 2 filesPVP ok

showing 5 of 19 versions

directory >=1.3 1.3.10.1 → 1.3.11.0
2026-05-27 05:59 UTC1.3.11.0+4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok
2026-01-05 11:08 UTC1.3.10.1+4989/−4830 lines, 43 filesPVP: major bump suggested
2025-12-24 02:55 UTC1.3.10.0+90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested
2024-10-11 10:43 UTC1.3.9.0+235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested
2024-05-20 06:52 UTC1.3.8.5+15/−13 lines, 7 filesdep ~basePVP ok

showing 5 of 55 versions

filepath >=0 1.5.4.0 → 1.5.5.0
2026-01-20 08:14 UTC1.5.5.0+68/−12 lines, 8 filesdep +QuickCheckdep +template-haskell-liftdep +template-haskell-quasiquoterPVP ok
2024-11-17 13:06 UTC1.5.4.0+26/−6 lines, 3 filesdep ~basePVP ok
2024-06-29 15:30 UTC1.5.3.0+876/−871 lines, 13 filesdep −QuickCheckdep ~basePVP: major bump suggested
2024-01-26 07:02 UTC1.5.2.0+330/−256 lines, 11 filesdep +generic-derivingdep +generic-randomdep +tastydep ~basedep ~os-stringPVP ok
2023-11-25 08:29 UTC1.5.0.0+53/−3744 lines, 35 filesdep +os-stringdep ~basePVP ok

showing 5 of 35 versions

process >=0 1.6.29.0 → 1.6.30.0
2026-06-11 10:14 UTC1.6.30.0+19/−1 lines, 2 filesPVP ok
2026-05-24 11:03 UTC1.6.29.0+5282/−4831 lines, 7 filesdep ~basePVP ok
2026-04-18 12:18 UTC1.6.28.0+70/−33 lines, 3 filesPVP ok
2026-03-08 19:39 UTC1.6.27.0+3/−2 lines, 2 filesPVP ok
2026-03-07 13:46 UTC1.6.26.2+4852/−5346 lines, 7 filesPVP ok

showing 5 of 57 versions

temporary >=0 1.2.1.1 → 1.3
2018-04-10 14:21 UTC1.3+41/−15 lines, 3 filesdep +randomPVP ok
2017-07-26 11:50 UTC1.2.1.1+49/−41 lines, 3 filesPVP ok
2017-06-11 17:08 UTC1.2.1+294/−300 lines, 7 filesdep +base-compatdep +tastydep +tasty-hunitdep ~basedep ~directorydep ~filepathPVP ok
2016-01-24 22:42 UTC1.2.0.4+8/−4 lines, 2 filesnew-uploaderPVP ok
2014-05-11 12:22 UTC1.2.0.3+6/−6 lines, 2 filesdep ~exceptions

showing 5 of 17 versions

text >=0.11 2.1.4 → 2.1.5
2026-11-27 23:30 UTC2.1.5+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

time >=0 1.16 → 1.16.0.1
2026-07-20 21:55 UTC1.16.0.1+1203/−148 lines, 25 filesPVP ok
2026-05-03 08:43 UTC1.16+353/−64 lines, 29 filesdep +template-haskell-liftdep ~template-haskellPVP ok
2025-08-04 16:22 UTC1.15+1407/−743 lines, 56 filesdep ~basedep ~deepseqdep ~template-haskellPVP ok
2024-03-10 22:18 UTC1.14+6594/−5536 lines, 73 filesdep +template-haskelldep ~basePVP ok
2021-10-18 05:36 UTC1.13+1279/−1589 lines, 59 filesdep ~basePVP ok

showing 5 of 48 versions

unix >=0 2.8.7.0 → 2.8.8.0
2025-09-23 08:10 UTC2.8.8.0+161/−207 lines, 6 filesdep ~basedep ~timePVP ok
2025-05-10 14:12 UTC2.8.7.0+8400/−7941 lines, 12 filesdep ~basedep ~timePVP ok
2024-11-19 15:41 UTC2.8.6.0+1133/−333 lines, 14 filesdep ~basedep ~timePVP: major bump suggested
2024-04-08 19:21 UTC2.8.5.1+7507/−6738 lines, 5 filesdep ~basedep ~filepathdep ~os-stringPVP: major bump suggested
2023-12-01 00:53 UTC2.8.5.0+55/−9 lines, 7 filesdep +os-stringdep ~filepathdep ~timePVP ok

showing 5 of 34 versions

zlib >=0 0.7.1.0 → 0.7.1.1
2025-09-06 12:21 UTC0.7.1.1+41/−48 lines, 5 filesdep ~basePVP ok
2024-04-24 22:06 UTC0.7.1.0+27/−20918 lines, 24 filesdep +zlib-clibdep ~basedep ~tasty-quickcheckPVP: major bump suggested
2024-02-07 22:13 UTC0.7.0.0+1596/−1914 lines, 31 filesdep −ghc-primdep ~basedep ~tasty-quickcheckPVP ok
2022-05-04 00:39 UTC0.6.3.0+11021/−1246 lines, 23 filesdep −tasty-hunitdep ~basedep ~bytestringdep ~tastysetup-changednew-uploaderPVP ok
2021-02-21 18:31 UTC0.6.2.3+148/−51 lines, 5 filesdep ~basedep ~bytestringdep ~tastynew-uploaderPVP ok

showing 5 of 29 versions

Reverse dependencies

52 packages depend on zip-archive; 16 have bounds that exclude 0.5

aws-lambda-runtime 0.0.0.1 requires zip-archive >=0.4 && <0.5 excludes current (upper bound)
canadian-income-tax 2025.1 requires zip-archive >=0.4 && <0.5 excludes current (upper bound)
conduit-vfs-zip 0.1.0.1 requires zip-archive >=0.4.1 && <0.5 excludes current (upper bound)
darcs 2.18.5 requires zip-archive >=0.3 && <0.5 excludes current (upper bound)
file-collection 0.1.1.9 requires zip-archive >=0.2.1 && <0.3 excludes current (upper bound)
hs-excelx 0.6.0.0 requires zip-archive >=0.1 && <0.2 excludes current (upper bound)
hwm 0.5.0 requires zip-archive >=0.4.2.1 && <=0.4.3.2 excludes current (upper bound)
idris 1.3.4 requires zip-archive >0.2.3.5 && <0.5 excludes current (upper bound)
ihp-zip 0.1.2 requires zip-archive >=0.4 && <0.5 excludes current (upper bound)
jenkinsPlugins2nix 0.5.0.0 requires zip-archive >=0.4 && <0.5 excludes current (upper bound)
katt 0.2.0.3 requires zip-archive >=0.1 && <0.3 excludes current (upper bound)
pantry-tmp 0.1.0.0 requires zip-archive >=0.3.3 && <0.4 || >=0.4.1 && <0.5 excludes current (upper bound)
pixiv 0.1.1 requires zip-archive >=0.4.1 && <0.5 excludes current (upper bound)
scholdoc 0.1.3 requires zip-archive >=0.2.3.4 && <0.3 excludes current (upper bound)
webdriver-snoy 0.6.0.4 requires zip-archive >=0.1.1.8 && <0.3 excludes current (upper bound)
webdriver-wrapper 0.2.0.1 requires zip-archive >=0.4.3 && <0.5 excludes current (upper bound)
asil 1.2 requires zip-archive >=0.1.1.7
ats-pkg 3.5.0.3 requires zip-archive >=0
aws-lambda 0.1.0.1 requires zip-archive >=0.2.3.5
BlastHTTP 1.4.2 requires zip-archive >=0
cpkg 0.2.5.8 requires zip-archive >=0
dirtree 0.1.3 requires zip-archive >=0
distributed-fork-aws-lambda 0.0.2.0 requires zip-archive >=0
edentv 4.10.0 requires zip-archive >=0
elm-package 0.5 requires zip-archive >=0
epub 0.0.7 requires zip-archive >=0
epub-metadata 5.4 requires zip-archive >=0
epub-tools 4.0 requires zip-archive >=0.4.3 && <0.6
Frames 0.7.4.2 requires zip-archive >=0
hashed-storage 0.5.11 requires zip-archive >=0
hastily 0.1.0.6 requires zip-archive >=0
hs-pkpass 0.6 requires zip-archive >=0.1.1.8
hslua-module-zip 1.2.1 requires zip-archive >=0.4 && <0.6
jarfind 0.1.0.3 requires zip-archive >=0.1.1.2
jarify 1.0 requires zip-archive >=0.2
jvm-binary 0.10.0 requires zip-archive >=0
lambdacube-engine 0.2.4 requires zip-archive >=0.1.1.8 && <1
Lastik 0.7.0 requires zip-archive >=0
madlang 4.0.2.16 requires zip-archive >=0
mail-reports 0.3.0.0 requires zip-archive >=0
marmalade-upload 0.10 requires zip-archive >=0.2
mediawiki2latex 7.33 requires zip-archive >=0
ods2csv 0.1.0.2 requires zip-archive >=0.4.3 && <0.6
open-pandoc 1.5.1.1 requires zip-archive >=0.1.1.4
pandoc 3.14 requires zip-archive >=0.5 && <0.6
pantry 0.11.5 requires zip-archive >=0
sparkle 0.7.4 requires zip-archive >=0.2
tldr 0.9.3 requires zip-archive >=0
webdriver 0.15.0.0 requires zip-archive >=0.1.1.8
wikipedia4epub 0.0.12 requires zip-archive >=0
xlsior 0.1.0.1 requires zip-archive >=0
xlsx 1.3.0 requires zip-archive >=0.2