cabal-version: 2.2

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

name:           make-is-data-con
version:        0.1.0.0
synopsis:       This package generates data constructor predicate functions
description:    Please see the README on GitHub at <https://github.com/HaskellZhangSong/make-is-data-con#readme>
category:       Development
homepage:       https://github.com/HaskellZhangSong/make-is-data-con#readme
bug-reports:    https://github.com/HaskellZhangSong/make-is-data-con/issues
author:         Zhang Song
maintainer:     Haskell.Zhang.Song `at` hotmail.com
copyright:      2025 Zhang Song
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/HaskellZhangSong/make-is-data-con

library
  exposed-modules:
      Data.Derive.IsDataCon
  other-modules:
      Paths_make_is_data_con
  autogen-modules:
      Paths_make_is_data_con
  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
    , template-haskell
  default-language: Haskell2010

test-suite make-is-data-con-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Cases
      Paths_make_is_data_con
  autogen-modules:
      Paths_make_is_data_con
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HUnit
    , base >=4.7 && <5
    , make-is-data-con
  default-language: Haskell2010