|
|
6012874 |
cabal-version: 1.12
|
|
|
6012874 |
name: tar
|
|
|
6012874 |
version: 0.5.1.1
|
|
|
3e17df4 |
x-revision: 5
|
|
|
6012874 |
|
|
|
6012874 |
license: BSD3
|
|
|
6012874 |
license-file: LICENSE
|
|
|
6012874 |
author: Duncan Coutts <duncan@community.haskell.org>
|
|
|
6012874 |
Bjorn Bringert <bjorn@bringert.net>
|
|
|
6012874 |
maintainer: Duncan Coutts <duncan@community.haskell.org>
|
|
|
6012874 |
bug-reports: https://github.com/haskell/tar/issues
|
|
|
6012874 |
copyright: 2007 Bjorn Bringert <bjorn@bringert.net>
|
|
|
6012874 |
2008-2016 Duncan Coutts <duncan@community.haskell.org>
|
|
|
6012874 |
category: Codec
|
|
|
6012874 |
synopsis: Reading, writing and manipulating ".tar" archive files.
|
|
|
6012874 |
description: This library is for working with \"@.tar@\" archive files. It
|
|
|
6012874 |
can read and write a range of common variations of archive
|
|
|
6012874 |
format including V7, POSIX USTAR and GNU formats.
|
|
|
6012874 |
.
|
|
|
6012874 |
It provides support for packing and unpacking portable
|
|
|
6012874 |
archives. This makes it suitable for distribution but not
|
|
|
6012874 |
backup because details like file ownership and exact
|
|
|
6012874 |
permissions are not preserved.
|
|
|
6012874 |
.
|
|
|
6012874 |
It also provides features for random access to archive
|
|
|
6012874 |
content using an index.
|
|
|
6012874 |
build-type: Simple
|
|
|
6012874 |
extra-source-files: changelog.md
|
|
|
6012874 |
tested-with: GHC==7.0.4, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3,
|
|
|
6012874 |
GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4,
|
|
|
6012874 |
GHC==8.6.5, GHC==8.8.3, GHC==8.10.4, GHC==9.0.1
|
|
|
6012874 |
|
|
|
6012874 |
source-repository head
|
|
|
6012874 |
type: git
|
|
|
6012874 |
location: https://github.com/haskell/tar.git
|
|
|
6012874 |
|
|
|
6012874 |
flag old-time
|
|
|
6012874 |
default: False
|
|
|
6012874 |
|
|
|
6012874 |
flag old-bytestring
|
|
|
6012874 |
default: False
|
|
|
6012874 |
|
|
|
6012874 |
library
|
|
|
6012874 |
|
|
|
3e17df4 |
build-depends: base >= 4 && < 4.18,
|
|
|
6012874 |
filepath < 1.5,
|
|
|
6012874 |
array < 0.6,
|
|
|
6012874 |
containers >= 0.2 && < 0.7,
|
|
|
6012874 |
deepseq >= 1.1 && < 1.5
|
|
|
6012874 |
|
|
|
6012874 |
if flag(old-time)
|
|
|
6012874 |
build-depends: directory < 1.2, old-time < 1.2
|
|
|
6012874 |
else
|
|
|
3e17df4 |
build-depends: directory >= 1.2 && < 1.4, time < 1.13
|
|
|
6012874 |
|
|
|
6012874 |
if flag(old-bytestring)
|
|
|
6012874 |
build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.*
|
|
|
6012874 |
else
|
|
|
6012874 |
build-depends: bytestring >= 0.10 && < 0.12
|
|
|
6012874 |
|
|
|
6012874 |
if !impl(ghc >= 8.0)
|
|
|
6012874 |
build-depends: semigroups >= 0.18 && < 0.20
|
|
|
6012874 |
|
|
|
6012874 |
exposed-modules:
|
|
|
6012874 |
Codec.Archive.Tar
|
|
|
6012874 |
Codec.Archive.Tar.Entry
|
|
|
6012874 |
Codec.Archive.Tar.Check
|
|
|
6012874 |
Codec.Archive.Tar.Index
|
|
|
6012874 |
|
|
|
6012874 |
other-modules:
|
|
|
6012874 |
Codec.Archive.Tar.Types
|
|
|
6012874 |
Codec.Archive.Tar.Read
|
|
|
6012874 |
Codec.Archive.Tar.Write
|
|
|
6012874 |
Codec.Archive.Tar.Pack
|
|
|
6012874 |
Codec.Archive.Tar.Unpack
|
|
|
6012874 |
Codec.Archive.Tar.Index.StringTable
|
|
|
6012874 |
Codec.Archive.Tar.Index.IntTrie
|
|
|
6012874 |
|
|
|
6012874 |
default-language: Haskell2010
|
|
|
6012874 |
-- Previously, the package used GHC's default Haskell mode which implies
|
|
|
6012874 |
-- NDI; so we keep it transitionally enabled here until we've reviewed the
|
|
|
6012874 |
-- code to make sure there isn't any code relies on NDI and keeps compiling
|
|
|
6012874 |
-- albeit with different semantics even without NDI
|
|
|
6012874 |
default-extensions: NondecreasingIndentation
|
|
|
6012874 |
|
|
|
6012874 |
other-extensions:
|
|
|
6012874 |
BangPatterns
|
|
|
6012874 |
CPP
|
|
|
6012874 |
DeriveDataTypeable
|
|
|
6012874 |
GeneralizedNewtypeDeriving
|
|
|
6012874 |
PatternGuards
|
|
|
6012874 |
ScopedTypeVariables
|
|
|
6012874 |
|
|
|
6012874 |
|
|
|
6012874 |
ghc-options: -Wall -fno-warn-unused-imports
|
|
|
6012874 |
|
|
|
6012874 |
test-suite properties
|
|
|
6012874 |
type: exitcode-stdio-1.0
|
|
|
6012874 |
build-depends: base,
|
|
|
6012874 |
filepath,
|
|
|
6012874 |
array,
|
|
|
6012874 |
containers,
|
|
|
6012874 |
deepseq,
|
|
|
6012874 |
bytestring-handle,
|
|
|
6012874 |
QuickCheck == 2.*,
|
|
|
6012874 |
tasty >= 0.10 && <1.5,
|
|
|
6012874 |
tasty-quickcheck >= 0.8 && <0.11
|
|
|
6012874 |
|
|
|
6012874 |
if flag(old-time)
|
|
|
6012874 |
build-depends: directory < 1.2, old-time
|
|
|
6012874 |
else
|
|
|
6012874 |
build-depends: directory >= 1.2, time
|
|
|
6012874 |
|
|
|
6012874 |
if flag(old-bytestring)
|
|
|
6012874 |
build-depends: bytestring-builder, bytestring >= 0.9 && <0.10
|
|
|
6012874 |
else
|
|
|
6012874 |
build-depends: bytestring >= 0.10
|
|
|
6012874 |
|
|
|
6012874 |
if !impl(ghc >= 8.0)
|
|
|
6012874 |
build-depends: semigroups >= 0.18 && <0.20
|
|
|
6012874 |
|
|
|
6012874 |
default-language: Haskell2010
|
|
|
6012874 |
|
|
|
6012874 |
hs-source-dirs: . test
|
|
|
6012874 |
|
|
|
6012874 |
main-is: test/Properties.hs
|
|
|
6012874 |
cpp-options: -DTESTS
|
|
|
6012874 |
|
|
|
6012874 |
other-modules:
|
|
|
6012874 |
Codec.Archive.Tar.Index
|
|
|
6012874 |
Codec.Archive.Tar.Index.StringTable
|
|
|
6012874 |
Codec.Archive.Tar.Index.IntTrie
|
|
|
6012874 |
|
|
|
6012874 |
-- shared w/ lib:tar component
|
|
|
6012874 |
other-modules:
|
|
|
6012874 |
Codec.Archive.Tar
|
|
|
6012874 |
Codec.Archive.Tar.Check
|
|
|
6012874 |
Codec.Archive.Tar.Pack
|
|
|
6012874 |
Codec.Archive.Tar.Read
|
|
|
6012874 |
Codec.Archive.Tar.Types
|
|
|
6012874 |
Codec.Archive.Tar.Unpack
|
|
|
6012874 |
Codec.Archive.Tar.Write
|
|
|
6012874 |
|
|
|
6012874 |
other-extensions:
|
|
|
6012874 |
CPP
|
|
|
6012874 |
BangPatterns,
|
|
|
6012874 |
DeriveDataTypeable
|
|
|
6012874 |
ScopedTypeVariables
|
|
|
6012874 |
|
|
|
6012874 |
ghc-options: -fno-ignore-asserts
|
|
|
6012874 |
|
|
|
6012874 |
benchmark bench
|
|
|
6012874 |
type: exitcode-stdio-1.0
|
|
|
6012874 |
hs-source-dirs: . bench
|
|
|
6012874 |
main-is: bench/Main.hs
|
|
|
6012874 |
build-depends: base,
|
|
|
6012874 |
bytestring >= 0.10,
|
|
|
6012874 |
filepath,
|
|
|
6012874 |
directory >= 1.2,
|
|
|
6012874 |
array,
|
|
|
6012874 |
containers,
|
|
|
6012874 |
deepseq,
|
|
|
6012874 |
time,
|
|
|
6012874 |
criterion >= 1.0
|
|
|
6012874 |
|
|
|
6012874 |
if !impl(ghc >= 8.0)
|
|
|
6012874 |
build-depends: semigroups >= 0.18 && <0.20
|
|
|
6012874 |
|
|
|
6012874 |
default-language: Haskell2010
|
|
|
6012874 |
|
|
|
6012874 |
-- shared w/ lib:tar component
|
|
|
6012874 |
other-modules:
|
|
|
6012874 |
Codec.Archive.Tar
|
|
|
6012874 |
Codec.Archive.Tar.Check
|
|
|
6012874 |
Codec.Archive.Tar.Index
|
|
|
6012874 |
Codec.Archive.Tar.Index.IntTrie
|
|
|
6012874 |
Codec.Archive.Tar.Index.StringTable
|
|
|
6012874 |
Codec.Archive.Tar.Pack
|
|
|
6012874 |
Codec.Archive.Tar.Read
|
|
|
6012874 |
Codec.Archive.Tar.Types
|
|
|
6012874 |
Codec.Archive.Tar.Unpack
|
|
|
6012874 |
Codec.Archive.Tar.Write
|