packages feed

derive-prim-0.1.0.0: derive-prim.cabal

cabal-version:      3.4
name:               derive-prim
version:            0.1.0.0
synopsis:           Derive Prim and PrimUnaligned
description:        This package provides the newtype `GenericPrim` which allows user to derive instances for Prim and PrimUnaligned
                    through the DerivingVia extension.
homepage:           https://github.com/k355l3r-5yndr0m3/derive-prim
bug-reports:        https://github.com/k355l3r-5yndr0m3/derive-prim/issues
license:            GPL-3.0-or-later
license-file:       LICENSE
author:             k355l3r-5yndr0m3
maintainer:         hoanghung17jan@gmail.com
-- copyright:
category:           Data, Generics, Development
build-type:         Simple
extra-doc-files:    CHANGELOG.md
                    README.md

-- common warnings
--     ghc-options: -Wall

library
--    import:           warnings

    exposed-modules:  Data.Primitive.Generic
    build-depends:    base ^>=4.18.2.0,
                      primitive >= 0.9.0 && < 0.10,
                      primitive-unaligned >= 0.1.1 && < 0.2,
    hs-source-dirs:   src
    default-language: GHC2021

test-suite derive-prim-test
--    import:           warnings
    default-language: GHC2021
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:
        base ^>=4.18.2.0,
        primitive >= 0.9.0 && < 0.10,
        primitive-unaligned >= 0.1.1 && < 0.2,
        derive-prim