zip-archive
Library for creating and modifying zip archives.
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.
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.5 | 2026-09-21 18:19 UTC | JohnMacFarlane | +671/−109 lines, 5 filesdep −mtldep −prettydep ~basePVP ok | |
| 0.4.3.2 | 2024-04-09 16:45 UTC | JohnMacFarlane | 1 revisions | +15/−4 lines, 3 filesdep ~basePVP ok |
| 0.4.3.1 | 2024-03-07 18:24 UTC | JohnMacFarlane | 1 revisions | +85/−42 lines, 3 filesdep ~basePVP ok |
| 0.4.3 | 2023-03-04 06:27 UTC | JohnMacFarlane | +70/−76 lines, 4 filesdep ~binaryPVP: major bump suggested | |
| 0.4.2.2 | 2022-09-26 00:39 UTC | JohnMacFarlane | +10/−3 lines, 3 filesPVP ok | |
| 0.4.2.1 | 2022-03-03 00:30 UTC | JohnMacFarlane | +8/−2 lines, 3 filesPVP ok | |
| 0.4.2 | 2022-03-02 05:49 UTC | JohnMacFarlane | +94/−54 lines, 4 filesdep ~basePVP ok | |
| 0.4.1 | 2019-04-23 06:10 UTC | JohnMacFarlane | 1 revisions | +23/−12 lines, 3 filesdep ~directoryPVP ok |
| 0.4 | 2018-12-04 00:24 UTC | JohnMacFarlane | 1 revisions | +271/−68 lines, 8 filesdep ~directorysetup-changedbinary-addedPVP ok |
| 0.3.3 | 2018-06-25 19:51 UTC | JohnMacFarlane | 1 revisions | +39/−35 lines, 3 filesdep −old-timedep ~basedep ~directoryPVP ok |
| 0.3.2.5 | 2018-05-29 22:42 UTC | JohnMacFarlane | 1 revisions | +8/−2 lines, 2 filesPVP ok |
| 0.3.2.4 | 2018-02-21 22:28 UTC | JohnMacFarlane | 1 revisions | +6/−2 lines, 2 filesPVP ok |
| 0.3.2.3 | 2018-02-12 19:41 UTC | JohnMacFarlane | 1 revisions | +20/−5 lines, 4 filesbuild-type:Customsetup-changedPVP ok |
| 0.3.2.2 | 2018-01-23 03:47 UTC | JohnMacFarlane | 1 revisions | +8/−3 lines, 3 filesdep ~directoryPVP ok |
| 0.3.2.1 | 2018-01-22 20:24 UTC | JohnMacFarlane | 1 revisions | +194/−47 lines, 5 filesdep ~basedep ~directorybinary-addedPVP: minor bump suggested |
| 0.3.2 | 2018-01-17 18:09 UTC | JohnMacFarlane | +94/−17 lines, 5 filesPVP ok | |
| 0.3.1.1 | 2017-06-19 08:40 UTC | JohnMacFarlane | 1 revisions | +44/−23 lines, 8 filesdep ~binarybinary-addedPVP ok |
| 0.3.1 | 2017-06-04 11:53 UTC | JohnMacFarlane | +102/−100 lines, 6 filessetup-changednew-component:exe:zip-archivePVP ok | |
| 0.3.0.7 | 2017-06-04 10:30 UTC | JohnMacFarlane | +8/−2 lines, 3 filesPVP ok | |
| 0.3.0.6 | 2017-04-25 08:01 UTC | JohnMacFarlane | +10/−3 lines, 2 filesdep ~bytestringPVP ok | |
| 0.3.0.5 | 2016-09-12 13:28 UTC | JohnMacFarlane | 2 revisions | +8/−4 lines, 3 filesPVP ok |
| 0.3.0.4 | 2016-07-18 17:37 UTC | JohnMacFarlane | 1 revisions | +120/−56 lines, 4 filesdep +temporarydep ~bytestringPVP ok |
| 0.3.0.2 | 2016-04-03 23:49 UTC | JohnMacFarlane | +21/−2 lines, 4 filesPVP ok | |
| 0.3.0.1 | 2016-03-28 23:24 UTC | JohnMacFarlane | +4/−3 lines, 2 filesPVP ok | |
| 0.3 | 2016-02-24 06:43 UTC | JohnMacFarlane | +94/−16 lines, 4 filesPVP ok | |
| 0.2.3.7 | 2015-01-21 19:09 UTC | JohnMacFarlane | +16/−3 lines, 3 filesbuild-type:Customsetup-changedPVP ok | |
| 0.2.3.6 | 2015-01-21 01:16 UTC | JohnMacFarlane | +7/−3 lines, 3 filesPVP ok | |
| 0.2.3.5 | 2014-11-08 20:51 UTC | JohnMacFarlane | +52/−4 lines, 3 filesdep ~binaryPVP ok | |
| 0.2.3.4 | 2014-08-11 19:13 UTC | JohnMacFarlane | +19/−7 lines, 3 filesPVP ok | |
| 0.2.3.3 | 2014-08-11 18:55 UTC | JohnMacFarlane | +67/−18 lines, 4 filesPVP ok | |
| 0.2.3.2 | 2014-05-16 17:11 UTC | JohnMacFarlane | +7/−4 lines, 3 filesdep ~directoryPVP ok | |
| 0.2.3.1 | 2014-05-16 00:30 UTC | JohnMacFarlane | +4/−38 lines, 2 filesdep ~binarydep ~directoryPVP ok | |
| 0.2.3 | 2014-05-15 20:43 UTC | JohnMacFarlane | 1 revisions | +10/−3 lines, 2 filesdep ~binaryPVP ok |
| 0.2.2.1 | 2014-04-26 17:49 UTC | JohnMacFarlane | +13/−13 lines, 2 files | |
| 0.2.2 | 2014-03-10 04:10 UTC | JohnMacFarlane | +2/−2 lines, 2 files | |
| 0.2.1 | 2014-02-05 20:03 UTC | JohnMacFarlane | +7/−3 lines, 2 files | |
| 0.2 | 2013-12-10 17:50 UTC | JohnMacFarlane | +17/−6 lines, 2 filesdep +textdep −utf8-string | |
| 0.1.4 | 2013-10-17 18:15 UTC | JohnMacFarlane | +7/−3 lines, 2 files | |
| 0.1.3.4 | 2013-03-05 16:26 UTC | JohnMacFarlane | +730/−727 lines, 4 filesdep ~basedep ~directoryPVP ok | |
| 0.1.3.3 | 2013-01-02 22:10 UTC | JohnMacFarlane | +44/−3 lines, 2 filesdep ~binaryPVP ok | |
| 0.1.3.2 | 2013-01-02 18:05 UTC | JohnMacFarlane | +2/−2 lines, 2 filesPVP ok | |
| 0.1.3.1 | 2013-01-01 17:15 UTC | JohnMacFarlane | +4/−1 lines, 2 filesdep ~directory | |
| 0.1.3 | 2012-12-31 17:50 UTC | JohnMacFarlane | 1 revisions | +103/−117 lines, 3 filesdep ~binarydep ~directory |
| 0.1.2.1 | 2012-10-16 17:16 UTC | JohnMacFarlane | +136/−440 lines, 6 filesdep +HUnitdep +processdep +timedep ~basedep ~binarydep ~bytestringPVP ok | |
| 0.1.1.8 | 2012-04-06 02:06 UTC | JohnMacFarlane | 1 revisions | +29/−18 lines, 3 filesPVP ok |
| 0.1.1.7 | 2011-01-30 21:54 UTC | JohnMacFarlane | 1 revisions | +11/−7 lines, 3 filesPVP ok |
| 0.1.1.6 | 2010-01-06 03:25 UTC | JohnMacFarlane | 1 revisions | +8/−1 lines, 2 filesPVP ok |
| 0.1.1.5 | 2009-12-31 15:18 UTC | JohnMacFarlane | 1 revisions | +2/−4 lines, 2 filesPVP ok |
| 0.1.1.4 | 2009-10-20 03:55 UTC | JohnMacFarlane | 1 revisions | +32/−8 lines, 3 filesPVP ok |
| 0.1.1.3 | 2009-01-05 16:13 UTC | JohnMacFarlane | 1 revisions | +2/−10 lines, 3 filesPVP ok |
| 0.1.1.2 | 2009-01-05 02:46 UTC | JohnMacFarlane | 1 revisions | +11/−126 lines, 3 filesdep +digestPVP ok |
| 0.1.1.1 | 2008-10-19 16:54 UTC | JohnMacFarlane | 1 revisions | +5/−4 lines, 2 filesdep ~utf8-stringPVP ok |
| 0.1.1 | 2008-09-03 18:39 UTC | JohnMacFarlane | 1 revisions | +3/−2 lines, 1 filesPVP: major bump suggested |
| 0.1 | 2008-09-03 04:00 UTC | JohnMacFarlane | 1 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 UTC | 1.6.2.0 | +48/−42 lines, 5 filesdep ~call-stackPVP: major bump suggested |
| 2020-10-31 12:09 UTC | 1.6.1.0 | +35/−21 lines, 4 filesPVP ok |
| 2017-03-20 01:42 UTC | 1.6.0.0 | +9/−5 lines, 4 filesdep ~basePVP ok |
| 2016-10-16 03:35 UTC | 1.5.0.0 | +47/−27 lines, 5 filesPVP ok |
| 2016-10-07 03:13 UTC | 1.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 UTC | 0.5.8.0 | +204/−8 lines, 6 filesdep ~basePVP ok |
| 2024-04-12 14:38 UTC | 0.5.7.0 | +34/−17 lines, 9 filesdep ~basePVP: major bump suggested |
| 2023-07-10 15:24 UTC | 0.5.6.0 | +159/−39 lines, 8 filesdep ~basenew-uploaderPVP ok |
| 2023-02-13 16:01 UTC | 0.5.5.0 | +8/−4 lines, 3 filesdep ~basenew-uploaderPVP ok |
| 2019-09-01 06:48 UTC | 0.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 UTC | 4.22.1.0 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.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 UTC | 0.10.0.0 | +504/−101 lines, 10 filesdep +generic-derivingdep −tardep ~Cabaldep ~QuickCheckPVP ok |
| 2017-03-13 22:00 UTC | 0.9.0.0 | +245/−690 lines, 15 filesdep +tardep −base-orphansdep −binarydep −generic-derivingdep ~Cabaldep ~QuickCheckdep ~basePVP ok |
| 2025-01-28 16:34 UTC | 0.8.9.3 | +8/−3 lines, 3 filesPVP ok |
| 2024-04-12 15:16 UTC | 0.8.9.2 | +23/−9 lines, 5 filesPVP: major bump suggested |
| 2022-08-04 23:02 UTC | 0.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 UTC | 0.12.2.0 | +538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok |
| 2024-02-16 03:27 UTC | 0.12.1.0 | +3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested |
| 2023-08-16 01:53 UTC | 0.12.0.2 | +16/−2 lines, 3 files |
| 2023-08-05 00:03 UTC | 0.12.0.1 | +47/−9 lines, 3 files |
| 2023-07-07 01:45 UTC | 0.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 UTC | 0.8.1 | +8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested |
| 2025-03-01 13:03 UTC | 0.8 | +8447/−7031 lines, 37 filesnew-uploaderPVP ok |
| 2023-09-27 12:15 UTC | 0.7 | +76/−33 lines, 3 filesPVP ok |
| 2023-09-28 04:21 UTC | 0.6.8 | +644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested |
| 2023-02-01 03:11 UTC | 0.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 UTC | 0.0.2.1 | +5/−2 lines, 2 filesPVP ok |
| 2023-12-13 11:48 UTC | 0.0.2.0 | +1619/−32 lines, 22 filesdep ~basedep ~bytestringPVP ok |
| 2023-03-12 14:11 UTC | 0.0.1.7 | +6/−2 lines, 2 filesdep ~bytestringPVP ok |
| 2023-03-05 21:35 UTC | 0.0.1.6 | +11/−2 lines, 2 filesPVP ok |
| 2023-01-24 15:49 UTC | 0.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 UTC | 1.3.11.0 | +4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok |
| 2026-01-05 11:08 UTC | 1.3.10.1 | +4989/−4830 lines, 43 filesPVP: major bump suggested |
| 2025-12-24 02:55 UTC | 1.3.10.0 | +90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested |
| 2024-10-11 10:43 UTC | 1.3.9.0 | +235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested |
| 2024-05-20 06:52 UTC | 1.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 UTC | 1.5.5.0 | +68/−12 lines, 8 filesdep +QuickCheckdep +template-haskell-liftdep +template-haskell-quasiquoterPVP ok |
| 2024-11-17 13:06 UTC | 1.5.4.0 | +26/−6 lines, 3 filesdep ~basePVP ok |
| 2024-06-29 15:30 UTC | 1.5.3.0 | +876/−871 lines, 13 filesdep −QuickCheckdep ~basePVP: major bump suggested |
| 2024-01-26 07:02 UTC | 1.5.2.0 | +330/−256 lines, 11 filesdep +generic-derivingdep +generic-randomdep +tastydep ~basedep ~os-stringPVP ok |
| 2023-11-25 08:29 UTC | 1.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 UTC | 1.6.30.0 | +19/−1 lines, 2 filesPVP ok |
| 2026-05-24 11:03 UTC | 1.6.29.0 | +5282/−4831 lines, 7 filesdep ~basePVP ok |
| 2026-04-18 12:18 UTC | 1.6.28.0 | +70/−33 lines, 3 filesPVP ok |
| 2026-03-08 19:39 UTC | 1.6.27.0 | +3/−2 lines, 2 filesPVP ok |
| 2026-03-07 13:46 UTC | 1.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 UTC | 1.3 | +41/−15 lines, 3 filesdep +randomPVP ok |
| 2017-07-26 11:50 UTC | 1.2.1.1 | +49/−41 lines, 3 filesPVP ok |
| 2017-06-11 17:08 UTC | 1.2.1 | +294/−300 lines, 7 filesdep +base-compatdep +tastydep +tasty-hunitdep ~basedep ~directorydep ~filepathPVP ok |
| 2016-01-24 22:42 UTC | 1.2.0.4 | +8/−4 lines, 2 filesnew-uploaderPVP ok |
| 2014-05-11 12:22 UTC | 1.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 UTC | 2.1.5 | +33786/−32979 lines, 58 filesPVP: major bump suggested |
| 2026-01-28 08:30 UTC | 2.1.4 | +30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok |
| 2025-08-01 20:08 UTC | 2.1.3 | +2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok |
| 2024-10-26 13:22 UTC | 2.1.2 | +43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested |
| 2024-02-16 22:16 UTC | 2.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 UTC | 1.16.0.1 | +1203/−148 lines, 25 filesPVP ok |
| 2026-05-03 08:43 UTC | 1.16 | +353/−64 lines, 29 filesdep +template-haskell-liftdep ~template-haskellPVP ok |
| 2025-08-04 16:22 UTC | 1.15 | +1407/−743 lines, 56 filesdep ~basedep ~deepseqdep ~template-haskellPVP ok |
| 2024-03-10 22:18 UTC | 1.14 | +6594/−5536 lines, 73 filesdep +template-haskelldep ~basePVP ok |
| 2021-10-18 05:36 UTC | 1.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 UTC | 2.8.8.0 | +161/−207 lines, 6 filesdep ~basedep ~timePVP ok |
| 2025-05-10 14:12 UTC | 2.8.7.0 | +8400/−7941 lines, 12 filesdep ~basedep ~timePVP ok |
| 2024-11-19 15:41 UTC | 2.8.6.0 | +1133/−333 lines, 14 filesdep ~basedep ~timePVP: major bump suggested |
| 2024-04-08 19:21 UTC | 2.8.5.1 | +7507/−6738 lines, 5 filesdep ~basedep ~filepathdep ~os-stringPVP: major bump suggested |
| 2023-12-01 00:53 UTC | 2.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 UTC | 0.7.1.1 | +41/−48 lines, 5 filesdep ~basePVP ok |
| 2024-04-24 22:06 UTC | 0.7.1.0 | +27/−20918 lines, 24 filesdep +zlib-clibdep ~basedep ~tasty-quickcheckPVP: major bump suggested |
| 2024-02-07 22:13 UTC | 0.7.0.0 | +1596/−1914 lines, 31 filesdep −ghc-primdep ~basedep ~tasty-quickcheckPVP ok |
| 2022-05-04 00:39 UTC | 0.6.3.0 | +11021/−1246 lines, 23 filesdep −tasty-hunitdep ~basedep ~bytestringdep ~tastysetup-changednew-uploaderPVP ok |
| 2021-02-21 18:31 UTC | 0.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
pantry-tmp 0.1.0.0 requires zip-archive >=0.3.3 && <0.4 || >=0.4.1 && <0.5 excludes current (upper bound)