packages feed

bpath-0.1.0: bpath.cabal

cabal-version:   3.0
name:            bpath
version:         0.1.0
synopsis:        A minimal typed unix path library
description:     A minimal typed unix path library
category:        System
license:         BSD-3-Clause
license-file:    LICENSE
author:          Poscat
maintainer:      Poscat <poscat@mail.poscat.moe>
copyright:       Copyright (c) Poscat 2020
stability:       alpha
homepage:        https://github.com/poscat0x04/bpath
bug-reports:     https://github.com/poscat0x04/bpath/issues
extra-doc-files:
  CHANGELOG.md
  README.md

tested-with:     GHC ==8.10.3

common common-attrs
  build-depends:      base >=4.10 && <5
  default-language:   Haskell2010
  default-extensions:
    NoStarIsType
    BangPatterns
    ConstraintKinds
    DataKinds
    DeriveFoldable
    DeriveFunctor
    DeriveGeneric
    DeriveTraversable
    DuplicateRecordFields
    EmptyCase
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    InstanceSigs
    KindSignatures
    LambdaCase
    MultiWayIf
    OverloadedStrings
    PartialTypeSignatures
    PatternSynonyms
    RecordWildCards
    ScopedTypeVariables
    TupleSections
    TypeApplications
    TypeFamilies
    TypeOperators
    UnicodeSyntax
    ViewPatterns

library
  import:          common-attrs
  build-depends:
    , bytestring         >=0.10.12 && <0.12
    , containers         ^>=0.6.2
    , megaparsec         ^>=9.0.1
    , template-haskell   ^>=2.16.0
    , th-lift-instances  ^>=0.1.18

  exposed-modules: Path
  other-modules:   Path.Internal
  hs-source-dirs:  src

test-suite bpath-test
  import:         common-attrs
  type:           exitcode-stdio-1.0
  build-depends:  bpath
  hs-source-dirs: test
  main-is:        Spec.hs

source-repository head
  type:     git
  location: https://github.com/poscat0x04/bpath