File: tar-conduit.cabal

package info (click to toggle)
haskell-tar-conduit 0.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: haskell: 1,727; makefile: 3
file content (97 lines) | stat: -rw-r--r-- 2,922 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
name:                tar-conduit
version:             0.4.1
synopsis:            Extract and create tar files using conduit for streaming
description:         Please see README.md. This is just filler to avoid warnings.
homepage:            https://github.com/snoyberg/tar-conduit#readme
license:             MIT
license-file:        LICENSE
author:              Michael Snoyman
maintainer:          michael@snoyman.com, bartavelle@gmail.com, alexey@kuleshevi.ch
category:            Data Conduit
build-type:          Simple
extra-source-files:  README.md
                     ChangeLog.md
                     tests/files/libpq-0.3.tar.gz
                     tests/files/subdir.tar
cabal-version:       1.24

library
  if impl(ghc < 8)
    buildable: False
  hs-source-dirs:      src
  exposed-modules:     Data.Conduit.Tar, Data.Conduit.Tar.Types
  build-depends:       base >= 4.9.0.0 && < 5
                     , bytestring
                     , conduit
                     , containers
                     , directory
                     , filepath
                     , mtl
                     , safe-exceptions
                     , text
  default-language:    Haskell2010
  ghc-options:         -Wall
  if os(windows)
      other-modules: Data.Conduit.Tar.Windows
      build-depends: time
                   , unix-compat
      cpp-options:   -DWINDOWS
  else
      other-modules: Data.Conduit.Tar.Unix
      build-depends: unix

test-suite tests
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             Spec.hs
  build-depends:       QuickCheck
                     , base >= 4.9.0.0 && < 5
                     , bytestring
                     , conduit
                     , conduit-extra
                     , directory
                     , filepath
                     , hspec
                     , tar-conduit
  ghc-options:         -O2 -threaded -rtsopts
  if os(windows)
      cpp-options:     -DWINDOWS
  default-language:    Haskell2010

test-suite space
  default-language:    Haskell2010
  type: exitcode-stdio-1.0
  ghc-options: -O2
  main-is: Space.hs
  hs-source-dirs: tests
  build-depends: base >= 4.9.0.0
               , bytestring
               , conduit
               , containers
               , deepseq
               , directory
               , filepath
               , hspec
               , tar-conduit
               , weigh

benchmark time
  default-language:    Haskell2010
  type: exitcode-stdio-1.0
  ghc-options: -O2
  main-is: Time.hs
  hs-source-dirs: tests
  build-depends: base >= 4.9.0.0
               , bytestring
               , conduit
               , containers
               , criterion
               , deepseq
               , directory
               , filepath
               , hspec
               , tar-conduit

source-repository head
  type:     git
  location: https://github.com/snoyberg/tar-conduit