packages feed

jvm-binary-0.2.0: jvm-binary.cabal

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

name:           jvm-binary
version:        0.2.0
synopsis:       A library for reading Java class-files
description:    A library for reading Java class-files.
category:       Language, Java, JVM
homepage:       https://github.com/ucla-pls/jvm-binary#readme
bug-reports:    https://github.com/ucla-pls/jvm-binary/issues
author:         Christian Gram Kalhauge
maintainer:     Christian Gram Kalhauge <kalhauge@cs.ucla.edu>
license:        MIT
license-file:   LICENSE.md
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    CHANGELOG.md
    LICENSE.md
    package.yaml
    README.md
    stack.yaml

source-repository head
  type: git
  location: https://github.com/ucla-pls/jvm-binary

library
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      attoparsec
    , base >=4.9 && <4.12
    , binary
    , bytestring
    , containers
    , data-binary-ieee754
    , deepseq >=1.4.3.0
    , deriving-compat
    , mtl
    , template-haskell
    , text
    , vector
  exposed-modules:
      Language.JVM
      Language.JVM.AccessFlag
      Language.JVM.Attribute
      Language.JVM.Attribute.Base
      Language.JVM.Attribute.BootstrapMethods
      Language.JVM.Attribute.Code
      Language.JVM.Attribute.ConstantValue
      Language.JVM.Attribute.EnclosingMethod
      Language.JVM.Attribute.Exceptions
      Language.JVM.Attribute.InnerClasses
      Language.JVM.Attribute.LineNumberTable
      Language.JVM.Attribute.Signature
      Language.JVM.Attribute.StackMapTable
      Language.JVM.ByteCode
      Language.JVM.ClassFile
      Language.JVM.ClassFileReader
      Language.JVM.Constant
      Language.JVM.ConstantPool
      Language.JVM.Field
      Language.JVM.Method
      Language.JVM.Stage
      Language.JVM.Staged
      Language.JVM.TH
      Language.JVM.Type
      Language.JVM.Utils
  other-modules:
      Paths_jvm_binary
  default-language: Haskell2010

test-suite jvm-binary-test
  type: exitcode-stdio-1.0
  main-is: Test.hs
  hs-source-dirs:
      test
  ghc-options: -rtsopts -threaded -with-rtsopts=-N -fno-warn-orphans
  build-depends:
      QuickCheck
    , attoparsec
    , base >=4.9 && <4.12
    , binary
    , bytestring
    , containers
    , data-binary-ieee754
    , deepseq >=1.4.3.0
    , deriving-compat
    , directory
    , filepath
    , generic-random
    , hspec-expectations-pretty-diff
    , jvm-binary
    , mtl
    , tasty
    , tasty-discover
    , tasty-hspec
    , tasty-quickcheck
    , template-haskell
    , text
    , vector
  other-modules:
      Language.JVM.Attribute.BootstrapMethodsTest
      Language.JVM.Attribute.CodeTest
      Language.JVM.Attribute.ConstantValueTest
      Language.JVM.Attribute.EnclosingMethodTest
      Language.JVM.Attribute.ExceptionsTest
      Language.JVM.Attribute.InnerClassesTest
      Language.JVM.Attribute.LineNumberTableTest
      Language.JVM.Attribute.SignatureTest
      Language.JVM.Attribute.StackMapTableTest
      Language.JVM.AttributeTest
      Language.JVM.ClassFileTest
      Language.JVM.ConstantTest
      Language.JVM.FieldTest
      Language.JVM.MethodTest
      Language.JVM.TypeTest
      Language.JVM.UtilsTest
      Language.JVMTest
      SpecHelper
      Paths_jvm_binary
  default-language: Haskell2010

benchmark jvm-binary-benchmarks
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      benchmark
  ghc-options: -rtsopts -threaded -funbox-strict-fields -with-rtsopts=-N
  build-depends:
      attoparsec
    , base >=4.9 && <4.12
    , binary
    , bytestring
    , containers
    , criterion
    , data-binary-ieee754
    , deepseq >=1.4.3.0
    , deriving-compat
    , jvm-binary
    , mtl
    , template-haskell
    , text
    , vector
  other-modules:
      Paths_jvm_binary
  default-language: Haskell2010