packages feed

heph-aligned-storable-0.1.0.0: heph-aligned-storable.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:           heph-aligned-storable
version:        0.1.0.0
synopsis:       Generically derive Storable instances suitable for CPU-GPU transfer
description:    Please see the README on GitHub at <https://github.com/jtnuttall/heph/tree/main/heph-aligned-storable#readme>
category:       Graphics
homepage:       https://github.com/jtnuttall/heph/tree/main/heph-aligned-storable#readme
bug-reports:    https://github.com/jtnuttall/heph/issues
author:         Jeremy Nuttall
maintainer:     jeremy@jeremy-nuttall.com
copyright:      2025 Jeremy Nuttall
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 9.8.4 || == 9.6.5 || == 8.10.7 || == 8.10.4
extra-doc-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/jtnuttall/heph

library
  exposed-modules:
      Foreign.GPU.Marshal.Aligned
      Foreign.GPU.Storable.Aligned
  other-modules:
      Paths_heph_aligned_storable
  autogen-modules:
      Paths_heph_aligned_storable
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , half >=0.3 && <0.5
    , hashable >=1.3 && <1.6
    , linear >=1.20 && <1.24
    , unliftio ==0.2.*
    , vector >=0.12.3.0 && <0.14
    , vector-sized >=1.4 && <1.7
  default-language: Haskell2010

test-suite heph-aligned-storable-test
  type: exitcode-stdio-1.0
  main-is: Driver.hs
  other-modules:
      Foreign.GPU.Marshal.AlignedSpec
      Foreign.GPU.Storable.AlignedInspectionSpec
      Foreign.GPU.Storable.AlignedSpec
      Paths_heph_aligned_storable
  autogen-modules:
      Paths_heph_aligned_storable
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.10 && <0.13
    , half >=0.3 && <0.5
    , hashable >=1.3 && <1.6
    , hedgehog >=1.0.4 && <1.6
    , heph-aligned-storable
    , lifted-base ==0.2.*
    , linear >=1.20 && <1.24
    , monad-control ==1.0.*
    , tasty >=1.4.1 && <1.6
    , tasty-discover >=4.2.1 && <6
    , tasty-hedgehog >=1.1 && <1.5
    , tasty-hunit ==0.10.*
    , tasty-inspection-testing >=0.1 && <0.3
    , unliftio ==0.2.*
    , vector >=0.12.3.0 && <0.14
    , vector-sized >=1.4 && <1.7
  default-language: Haskell2010