flag.cabal 1.04 KB
cabal-version:      1.12
name:               flag
version:            0.1.0.0
synopsis:           A simple flag type.
description:
  A simple flag type, parameterised by another type. It can be enabled or disabled.

category:           Data
author:             Daniel Firth
maintainer:         dan.firth@homotopic.tech
copyright:          Homotopic.Tech Ltd
license:            MIT
license-file:       LICENSE
build-type:         Simple
extra-source-files:
  ChangeLog.md
  README.md

source-repository head
  type:     git
  location: https://gitlab.homotopic.tech/haskell/flag

library
  exposed-modules:    Data.Flag
  hs-source-dirs:     src
  default-extensions:
    DataKinds
    DeriveFoldable
    DeriveFunctor
    DeriveGeneric
    DeriveTraversable
    DerivingStrategies
    StandaloneKindSignatures

  ghc-options:
    -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude
    -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
    -Wno-safe -Wno-unsafe

  build-depends:      base >=4.7 && <5
  default-language:   Haskell2010