packages feed

bytepatch-0.2.0: bytepatch.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name:           bytepatch
version:        0.2.0
synopsis:       Patch byte-representable data in a bytestream.
homepage:       https://github.com/raehik/bytepatch#readme
bug-reports:    https://github.com/raehik/bytepatch/issues
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/raehik/bytepatch

library
  exposed-modules:
      BytePatch.Core
      BytePatch.JSON
      BytePatch.Linear.Core
      BytePatch.Linear.Gen
      BytePatch.Linear.Patch
      BytePatch.Pretty
      BytePatch.Pretty.HexByteString
      BytePatch.Pretty.PascalText
      BytePatch.Pretty.PatchRep
  other-modules:
      Paths_bytepatch
  hs-source-dirs:
      src
  default-extensions:
      EmptyCase
      FlexibleContexts
      FlexibleInstances
      InstanceSigs
      MultiParamTypeClasses
      LambdaCase
      DeriveGeneric
      DeriveFoldable
      DeriveFunctor
      DeriveGeneric
      DeriveLift
      DeriveTraversable
      DerivingStrategies
      GeneralizedNewtypeDeriving
      StandaloneDeriving
      BangPatterns
      KindSignatures
      TypeOperators
      TypeApplications
  build-depends:
      aeson >=1.5 && <2.1
    , base >=4.12 && <4.17
    , bytestring >=0.10 && <0.12
    , generic-optics >=2.1 && <2.4
    , megaparsec >=9.0 && <9.3
    , mtl ==2.2.*
    , optics >=0.3 && <0.5
    , text ==1.2.*
  default-language: Haskell2010

executable bytepatch
  main-is: Main.hs
  other-modules:
      Config
      Options
      Paths_bytepatch
  hs-source-dirs:
      app
  default-extensions:
      EmptyCase
      FlexibleContexts
      FlexibleInstances
      InstanceSigs
      MultiParamTypeClasses
      LambdaCase
      DeriveGeneric
      DeriveFoldable
      DeriveFunctor
      DeriveGeneric
      DeriveLift
      DeriveTraversable
      DerivingStrategies
      GeneralizedNewtypeDeriving
      StandaloneDeriving
      BangPatterns
      KindSignatures
      TypeOperators
      TypeApplications
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson >=1.5 && <2.1
    , base >=4.12 && <4.17
    , bytepatch
    , bytestring >=0.10 && <0.12
    , generic-optics >=2.1 && <2.4
    , megaparsec >=9.0 && <9.3
    , mtl ==2.2.*
    , optics >=0.3 && <0.5
    , optparse-applicative >=0.16.1 && <0.17
    , text ==1.2.*
    , yaml >=0.11.7 && <0.12
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      BytePatch.Pretty.HexByteStringSpec
      Util
      Paths_bytepatch
  hs-source-dirs:
      test
  default-extensions:
      EmptyCase
      FlexibleContexts
      FlexibleInstances
      InstanceSigs
      MultiParamTypeClasses
      LambdaCase
      DeriveGeneric
      DeriveFoldable
      DeriveFunctor
      DeriveGeneric
      DeriveLift
      DeriveTraversable
      DerivingStrategies
      GeneralizedNewtypeDeriving
      StandaloneDeriving
      BangPatterns
      KindSignatures
      TypeOperators
      TypeApplications
  build-tool-depends:
      hspec-discover:hspec-discover
  build-depends:
      aeson >=1.5 && <2.1
    , base >=4.12 && <4.17
    , bytepatch
    , bytestring >=0.10 && <0.12
    , generic-optics >=2.1 && <2.4
    , hspec
    , megaparsec >=9.0 && <9.3
    , mtl ==2.2.*
    , optics >=0.3 && <0.5
    , text ==1.2.*
  default-language: Haskell2010