packages feed

ktx-codec-0.0.1.4: ktx-codec.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:           ktx-codec
version:        0.0.1.4
synopsis:       Khronos texture format
description:    KTX is a format for storing textures for OpenGL® and OpenGL® ES applications.
                It is distinguished by the simplicity of the loader required to instantiate a
                GL texture object from the file contents.
                .
                https://web.archive.org/web/20201116105642/https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/
category:       Graphics
author:         Alexander Bondarenko
maintainer:     aenor.realm@gmail.com
copyright:      2021 Alexander Bondarenko
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    ChangeLog.md

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

flag tests
  manual: True
  default: False

library
  exposed-modules:
      Codec.Ktx
  other-modules:
      Paths_ktx_codec
  hs-source-dirs:
      src
  default-extensions:
      ApplicativeDo
      BlockArguments
      DeriveGeneric
      DuplicateRecordFields
      FlexibleContexts
      GeneralizedNewtypeDeriving
      LambdaCase
      OverloadedStrings
      PatternSynonyms
      RecordWildCards
      StrictData
  build-depends:
      base >=4.7 && <5
    , binary >=0.8.7 && <1
    , bytestring >=0.10 && <0.12
    , containers ==0.6.*
    , text >=1.2 && <2.1
    , vector ==0.12.*
  default-language: Haskell2010

test-suite ktx-codec-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_ktx_codec
  hs-source-dirs:
      test
  default-extensions:
      ApplicativeDo
      BlockArguments
      DeriveGeneric
      DuplicateRecordFields
      FlexibleContexts
      GeneralizedNewtypeDeriving
      LambdaCase
      OverloadedStrings
      PatternSynonyms
      RecordWildCards
      StrictData
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , binary >=0.8.7 && <1
    , bytestring >=0.10 && <0.12
    , containers ==0.6.*
    , directory ==1.3.*
    , filepath ==1.4.*
    , ktx-codec
    , shower ==0.2.*
    , text >=1.2 && <2.1
    , vector ==0.12.*
  if !flag(tests)
    buildable: False
  default-language: Haskell2010