packages feed

posix-paths-0.3.0.0: posix-paths.cabal

name:  posix-paths
version:  0.3.0.0
license: BSD3
license-file: LICENSE
maintainer: jwlato@gmail.com
bug-reports: http://github.com/JohnLato/posix-paths/issues
synopsis: POSIX filepath/directory functionality
category: System
description:
  This package gives access to certain POSIX-based Filepath/Directory
  services.
  .
  The package is not supported under Windows (except under Cygwin).
extra-source-files: cbits/dirutils.h
                    doctests.hs
                    benchmarks/*.hs
extra-tmp-files:
build-type: Simple
Cabal-Version: >= 1.14

Library
    hs-source-dirs:     src
    default-language:   Haskell2010
    c-sources:          cbits/dirutils.c
    exposed-modules:    System.Posix.Directory.Foreign,
                        System.Posix.Directory.Traversals,
                        System.Posix.FilePath
    build-depends:      base >= 4.2 && < 5,
                        bytestring >= 0.9.2.0,
                        unix >= 2.5.1.0,
                        unliftio >= 0.2

test-suite doctests
    default-language:   Haskell2010
    type:               exitcode-stdio-1.0
    ghc-options:        -Wall -threaded
    main-is:            doctests.hs
    build-depends:      base,
                        bytestring,
                        unix,
                        posix-paths,
                        doctest >= 0.8,
                        HUnit,
                        QuickCheck

benchmark bench.hs
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: benchmarks
  main-is:        Bench.hs

  build-depends:
      base,
      posix-paths,
      bytestring,
      unix,
      directory  >= 1.1,
      filepath   >= 1.2,
      process    >= 1.0,
      criterion  >= 0.6
  ghc-options: -Wall -O2

source-repository head
  type:                git
  location:            git://github.com/JohnLato/posix-paths.git