-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from Hackage at 2018-07-17T22:57:56Z
- Loading branch information
1 parent
8a0e577
commit 12c327a
Showing
2 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
name: ztar | ||
version: 0.1.3 | ||
license: BSD3 | ||
license-file: LICENSE.md | ||
author: Brandon Chinn <brandonchinn178@gmail.com> | ||
maintainer: Brandon Chinn <brandonchinn178@gmail.com> | ||
category: Codec | ||
synopsis: Creating and extracting arbitrary archives | ||
description: Creating and extracting arbitrary archives. | ||
build-type: Simple | ||
cabal-version: 1.18 | ||
extra-doc-files: CHANGELOG.md, README.md | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/brandonchinn178/ztar.git | ||
|
||
flag dev | ||
description: Turn on development settings. | ||
manual: True | ||
default: False | ||
|
||
flag typed-paths | ||
description: Use the Path library | ||
manual: True | ||
default: False | ||
|
||
library | ||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
exposed-modules: Codec.Archive.ZTar | ||
Codec.Archive.ZTar.GZip | ||
Codec.Archive.ZTar.Path | ||
Codec.Archive.ZTar.Tar | ||
Codec.Archive.ZTar.Zip | ||
Codec.Archive.Tar | ||
build-depends: base >= 4.7 && < 5 | ||
, bytestring >= 0.10.8 && < 0.11 | ||
, directory >= 1.3 && < 1.4 | ||
, filepath >= 1.4.1 && < 1.5 | ||
, path | ||
-- , tar >= 0.5 && < 0.6 | ||
, zip >= 0.2 && < 0.3 | ||
, zlib >= 0.6 && < 0.7 | ||
-- For Codec.Archive.Tar | ||
, deepseq | ||
, process | ||
, text | ||
, unix-compat | ||
if flag(typed-paths) | ||
build-depends: path >= 0.5 && < 0.7 | ||
cpp-options: -DTYPED_PATHS | ||
|
||
ghc-options: -Wall | ||
if flag(dev) | ||
ghc-options: -Werror | ||
if flag(dev) && impl(ghc >= 8.0) | ||
ghc-options: -Wcompat | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wnoncanonical-monad-instances | ||
-Wnoncanonical-monadfail-instances | ||
|
||
test-suite example | ||
type: exitcode-stdio-1.0 | ||
default-language: Haskell2010 | ||
hs-source-dirs: test | ||
main-is: Example.hs | ||
other-modules: Utilities | ||
build-depends: base | ||
, path | ||
, path-io | ||
, ztar | ||
if flag(typed-paths) | ||
cpp-options: -DTYPED_PATHS | ||
ghc-options: -Wall | ||
if flag(dev) | ||
ghc-options: -Werror | ||
if flag(dev) && impl(ghc >= 8.0) | ||
ghc-options: -Wcompat | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wnoncanonical-monad-instances | ||
-Wnoncanonical-monadfail-instances | ||
|
||
test-suite ztar-test | ||
type: exitcode-stdio-1.0 | ||
default-language: Haskell2010 | ||
hs-source-dirs: test | ||
main-is: Test.hs | ||
other-modules: Utilities | ||
build-depends: base | ||
, bytestring | ||
, bytestring-arbitrary | ||
, extra | ||
, path | ||
, path-io | ||
, QuickCheck | ||
, tasty | ||
, tasty-quickcheck | ||
, ztar | ||
if flag(typed-paths) | ||
cpp-options: -DTYPED_PATHS | ||
ghc-options: -Wall | ||
if flag(dev) | ||
ghc-options: -Werror | ||
if flag(dev) && impl(ghc >= 8.0) | ||
ghc-options: -Wcompat | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wnoncanonical-monad-instances | ||
-Wnoncanonical-monadfail-instances |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package-hashes":{"MD5":"414aab684af48d65c4aff7f3c46bf9ac","Skein512_512":"27ce01a23dfcabf6a20b246cf3f263d89644471d9bb6c763792b0457b39c472e5007a903ed58d9f3c589be0f9551f0b0a7e650ee0a967fc465e2b52d6100c12d","SHA1":"e107591f3f0ee0c233e6db772de56c7fe1a8a69f","SHA512":"05dfa50f1722d9265dc2453767d6c178af460a23db41f23df1a619ffd7b94138429c15d26a0e781292505054fa8da28b652949ebf89472401b5cc48258710f01","SHA256":"01bf29ea982be8d3f4a15d93bb282acac0afd75dba05c84727e22890f2d4ff8a"},"package-locations":["https://hackage.haskell.org/package/ztar-0.1.3/ztar-0.1.3.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/ztar-0.1.3.tar.gz"],"package-size":7084} |