packages feed

bytepatch-0.4.1: bytepatch.cabal

cabal-version: 1.12

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

name:           bytepatch
version:        0.4.1
synopsis:       Patch byte-representable data in a bytestream
description:    Please see README.md.
category:       CLI
homepage:       https://github.com/raehik/bytepatch#readme
bug-reports:    https://github.com/raehik/bytepatch/issues
author:         Ben Orchard
maintainer:     Ben Orchard <thefirstmuffinman@gmail.com>
license:        MIT
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC ==9.2.4
extra-source-files:
    README.md
    CHANGELOG.md

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

library
  exposed-modules:
      Binrep.Type.Assembly
      Binrep.Type.Assembly.Assemble
      Binrep.Type.Assembly.Disassemble
      Raehik.HFunctorMap
      StreamPatch.Apply
      StreamPatch.Example
      StreamPatch.HFunctorList
      StreamPatch.Patch
      StreamPatch.Patch.Align
      StreamPatch.Patch.Binary
      StreamPatch.Patch.Compare
      StreamPatch.Patch.Compile
      StreamPatch.Patch.Linearize.Common
      StreamPatch.Patch.Linearize.InPlace
      StreamPatch.Patch.Linearize.Insert
      StreamPatch.Seek
      StreamPatch.Simple
      StreamPatch.Stream
      StreamPatch.Util
  other-modules:
      Paths_bytepatch
  hs-source-dirs:
      src
  default-extensions:
      EmptyCase
      LambdaCase
      InstanceSigs
      BangPatterns
      ExplicitNamespaces
      DerivingStrategies
      DerivingVia
      StandaloneDeriving
      DeriveAnyClass
      DeriveGeneric
      DeriveDataTypeable
      DeriveFunctor
      DeriveFoldable
      DeriveTraversable
      DeriveLift
      FlexibleContexts
      FlexibleInstances
      MultiParamTypeClasses
      GADTs
      PolyKinds
      RoleAnnotations
      RankNTypes
      TypeApplications
      DefaultSignatures
      TypeFamilies
      DataKinds
      MagicHash
      ImportQualifiedPost
      StandaloneKindSignatures
      ScopedTypeVariables
      TypeOperators
  ghc-options: -Wall
  build-depends:
      aeson >=2.0.2.0 && <2.1
    , base >=4.12 && <5
    , binrep >=0.3.1 && <0.4
    , blake3 ==0.3.*
    , bytestring >=0.10 && <0.12
    , either >=5.0.1.1 && <5.1
    , generic-optics >=2.2.1.0 && <2.3
    , heystone >=0.1.0 && <0.2
    , megaparsec >=9.0 && <9.3
    , memory ==0.17.*
    , mtl >=2.2.2 && <2.3
    , optics >=0.3 && <0.5
    , singletons ==3.0.*
    , singletons-base ==3.1.*
    , singletons-th ==3.1.*
    , text >=1.2.4.1 && <1.3
    , text-short >=0.1.5 && <0.2
    , vinyl >=0.14.1 && <0.15
  default-language: GHC2021

executable bytepatch
  main-is: Main.hs
  other-modules:
      BytePatch
      BytePatch.CLI
      BytePatch.Config
      Raehik.CLI.Stream
      Paths_bytepatch
  hs-source-dirs:
      app
  default-extensions:
      EmptyCase
      LambdaCase
      InstanceSigs
      BangPatterns
      ExplicitNamespaces
      DerivingStrategies
      DerivingVia
      StandaloneDeriving
      DeriveAnyClass
      DeriveGeneric
      DeriveDataTypeable
      DeriveFunctor
      DeriveFoldable
      DeriveTraversable
      DeriveLift
      FlexibleContexts
      FlexibleInstances
      MultiParamTypeClasses
      GADTs
      PolyKinds
      RoleAnnotations
      RankNTypes
      TypeApplications
      DefaultSignatures
      TypeFamilies
      DataKinds
      MagicHash
      ImportQualifiedPost
      StandaloneKindSignatures
      ScopedTypeVariables
      TypeOperators
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson >=2.0.2.0 && <2.1
    , base >=4.12 && <5
    , binrep >=0.3.1 && <0.4
    , blake3 ==0.3.*
    , bytepatch
    , bytestring >=0.10 && <0.12
    , either >=5.0.1.1 && <5.1
    , generic-optics >=2.2.1.0 && <2.3
    , heystone >=0.1.0 && <0.2
    , megaparsec >=9.0 && <9.3
    , memory ==0.17.*
    , mtl >=2.2.2 && <2.3
    , optics >=0.3 && <0.5
    , optparse-applicative ==0.17.*
    , refined >=0.7 && <0.9
    , singletons ==3.0.*
    , singletons-base ==3.1.*
    , singletons-th ==3.1.*
    , text >=1.2.4.1 && <1.3
    , text-short >=0.1.5 && <0.2
    , vinyl >=0.14.1 && <0.15
    , yaml >=0.11.6.0 && <0.12
  default-language: GHC2021

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      StreamPatch.ApplySpec
      StreamPatch.Patch.AlignSpec
      StreamPatch.Patch.LinearizeSpec
      Util
      Paths_bytepatch
  hs-source-dirs:
      test
  default-extensions:
      EmptyCase
      LambdaCase
      InstanceSigs
      BangPatterns
      ExplicitNamespaces
      DerivingStrategies
      DerivingVia
      StandaloneDeriving
      DeriveAnyClass
      DeriveGeneric
      DeriveDataTypeable
      DeriveFunctor
      DeriveFoldable
      DeriveTraversable
      DeriveLift
      FlexibleContexts
      FlexibleInstances
      MultiParamTypeClasses
      GADTs
      PolyKinds
      RoleAnnotations
      RankNTypes
      TypeApplications
      DefaultSignatures
      TypeFamilies
      DataKinds
      MagicHash
      ImportQualifiedPost
      StandaloneKindSignatures
      ScopedTypeVariables
      TypeOperators
  ghc-options: -Wall
  build-tool-depends:
      hspec-discover:hspec-discover >=2.7 && <2.10
  build-depends:
      QuickCheck >=2.14.2 && <2.15
    , aeson >=2.0.2.0 && <2.1
    , base >=4.12 && <5
    , binrep >=0.3.1 && <0.4
    , blake3 ==0.3.*
    , bytepatch
    , bytestring >=0.10 && <0.12
    , either >=5.0.1.1 && <5.1
    , generic-optics >=2.2.1.0 && <2.3
    , heystone >=0.1.0 && <0.2
    , hspec >=2.7 && <2.10
    , megaparsec >=9.0 && <9.3
    , memory ==0.17.*
    , mtl >=2.2.2 && <2.3
    , optics >=0.3 && <0.5
    , singletons ==3.0.*
    , singletons-base ==3.1.*
    , singletons-th ==3.1.*
    , text >=1.2.4.1 && <1.3
    , text-short >=0.1.5 && <0.2
    , vinyl >=0.14.1 && <0.15
  default-language: GHC2021