packages feed

bytes-patterns-0.1.0.0: bytes-patterns.cabal

cabal-version:   2.4
name:            bytes-patterns
version:         0.1.0.0
synopsis:        Template haskell macro for casing on Bytes
description:     Provides template haskell macros for casing on Bytes.
homepage:        https://github.com/byteverse/bytes-patterns
bug-reports:     https://github.com/byteverse/bytes-patterns/issues
license:         MIT
license-file:    LICENSE
author:          Zachary Churchill
maintainer:      amartin@layer3com.com
copyright:       2024 Andrew Martin
category:        Data
extra-doc-files: CHANGELOG.md
tested-with:     GHC ==9.4.8 || ==9.6.3 || ==9.8.1

common build-settings
  default-language: Haskell2010
  ghc-options:      -Wall -Wunused-packages

library
  import:          build-settings
  exposed-modules: Data.Bytes.Patterns
  ghc-options:     -O2
  build-depends:
    , base              >=4.13.0.0 && <5
    , byteslice
    , template-haskell

  hs-source-dirs:  src

test-suite test
  import:         build-settings
  type:           exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:        Main.hs
  build-depends:
    , base
    , bytes-patterns
    , byteslice
    , tasty
    , tasty-hunit

source-repository head
  type:     git
  location: git://github.com/byteverse/bytes-patterns.git