packages feed

gl-block-1.1: gl-block.cabal

cabal-version: 2.2

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

name:           gl-block
version:        1.1
synopsis:       OpenGL standard memory layouts
category:       Graphics
author:         IC Rainbow
maintainer:     ic.rbow@gmail.com
copyright:      2023-2026 IC Rainbow, 2014-2019 Edward Kmett
license:        (BSD-2-Clause OR Apache-2.0)
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
extra-doc-files:
    ChangeLog.md

source-repository head
  type: git
  location: https://gitlab.com/dpwiz/gl-block

library
  exposed-modules:
      Graphics.Gl.Block
  other-modules:
      Paths_gl_block
  autogen-modules:
      Paths_gl_block
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=4.7 && <5
    , half
    , ptrdiff
  default-language: Haskell2010

test-suite gl-block-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Spec.Array
      Spec.Layout
      Spec.Layout.Golden
      Spec.Packed
      Spec.Types
      Paths_gl_block
  autogen-modules:
      Paths_gl_block
  hs-source-dirs:
      test
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-qn1 -with-rtsopts=-A128m
  build-tool-depends:
      tasty-discover:tasty-discover
  build-depends:
      base >=4.7 && <5
    , gl-block
    , half
    , ptrdiff
    , tasty
    , tasty-hunit
    , vector
  default-language: Haskell2010

benchmark gl-block-bench
  type: exitcode-stdio-1.0
  main-is: Bench.hs
  other-modules:
      Bench.Struct
      Paths_gl_block
  autogen-modules:
      Paths_gl_block
  hs-source-dirs:
      bench
  ghc-options: -Wall -O2 -threaded -rtsopts -fproc-alignment=64 "-with-rtsopts=-N1 -A64m -T"
  build-depends:
      base >=4.7 && <5
    , gl-block
    , tasty
    , tasty-bench
    , vector
  default-language: Haskell2010