packages feed

liblawless-0.16.0: liblawless.cabal

name:                liblawless
version:             0.16.0
synopsis:            Prelude based on protolude for GHC 8 and beyond.
license:             GPL-3
license-file:        LICENSE
author:              Evan Cofsky
maintainer:          evan@theunixman.com
copyright:           © 2016 Evan Cofsky
category:            Prelude
build-type:          Simple
extra-source-files:
                   ChangeLog
                   README.md
                   TODO.org
                   Tests/*.hs
cabal-version:       >=1.24
data-files:
           Examples/ZFS/zpools.yaml
description:
    A Prelude relpacement for GHC 8 with a focus on building
    applications with Lenses, Machines, and Applicatives.

source-repository head
  type:     git
  location: git+ssh://lambdanow.us/projects/haskellnow/liblawless.git

source-repository this
  type:     git
  location:   location: git+ssh://lambdanow.us/projects/haskellnow/liblawless.git
  tag: v0.16.0

library
  exposed-modules:
                  Aeson
                  Arbitrary
                  Boomerang
                  Exception
                  Generics
                  Lawless
                  Machine
                  Map
                  Networking
                  Parser
                  Set
                  Temporary
                  Text
                  Textual
                  Textual.SepList
                  Time
                  Tree
  default-extensions:
                     NoImplicitPrelude
                     UnicodeSyntax
                     LambdaCase
                     ConstraintKinds
                     DefaultSignatures
                     FlexibleContexts
                     FlexibleInstances
                     FunctionalDependencies
                     GADTs
                     DeriveGeneric
                     DeriveDataTypeable
                     GeneralizedNewtypeDeriving
                     KindSignatures
                     MultiParamTypeClasses
                     OverloadedStrings
                     PartialTypeSignatures
                     RankNTypes
                     ScopedTypeVariables
                     StandaloneDeriving
                     TypeFamilies
                     TypeSynonymInstances
  build-depends:
                aeson                      >= 0.11.2 && < 0.12,
                base >=4.9 && <4.10,
                base-unicode-symbols       >= 0.2.2 && < 0.3,
                binary                     >= 0.8.3 && < 0.9,
                boomerang,
                bytestring                 >= 0.10.8 && < 0.11,
                containers                 >= 0.5.7 && < 0.6,
                containers-unicode-symbols >= 0.3.1 && < 0.4,
                contravariant              >= 1.4 && < 1.5,
                data-default               >= 0.7.1.1 && < 0.8,
                data-textual               >= 0.3.0 && < 0.4,
                directory                  >= 1.2.6 && < 1.3,
                dns                        >= 2.0.8 && < 2.1,
                exceptions                 >= 0.8.3 && < 0.9,
                filepath                   >= 1.4.1 && < 1.5,
                hjsonschema                >= 1.2.0 && < 1.3,
                lens                       >= 4.14 && < 4.15,
                machines                   >= 0.6.1 && < 0.7,
                mtl                        >= 2.2.1 && < 2.3,
                network >= 2.6.3.1,
                network-ip                 >= 0.3 && < 0.4,
                parsers                    >= 0.12.4 && < 0.13,
                protolude                  >= 0.1.10 && < 0.2,
                random                     >= 1.1 && < 1.2,
                semigroups                 >= 0.18.2 && < 0.19,
                stm                        >= 2.4.4 && < 2.5,
                stm-containers             >= 0.2.15 && < 0.3,
                QuickCheck                 >= 2.8.2 && < 2.9,
                temporary                  >= 1.2.0 && < 1.3,
                text                       >= 1.2.2 && < 1.3,
                text-icu                   >= 0.7.0 && < 0.8,
                text-icu-normalized        >= 0.3.0 && < 0.4,
                text-printer               >= 0.4 && < 0.5,
                time                       >= 1.6.0 && < 1.7,
                transformers               >= 0.5.2 && < 0.6,
                zippers                    >= 0.2.2 && < 0.3
  hs-source-dirs:      Source
  default-language:    Haskell2010

test-suite test-liblawless
  default-language:    Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: Tests
  main-is: Main.hs
  other-modules:
                TestAeson
                TestSepList
                TestTemporary
                TestTime
                Paths_liblawless
  build-depends:
                QuickCheck,
                aeson < 1.0,
                base >= 4.9 && < 4.10,
                binary >= 0.7.5.0,
                bytestring,
                exceptions >= 0.8.3,
                filepath >= 1.4.0.0,
                liblawless,
                network >= 2.6.3.1,
                semigroups >= 0.18.2,
                temporary >= 1.2.0.4,
                test-framework,
                test-framework-quickcheck2,
                test-framework-th,
                text,
                time,
                transformers >= 0.4.2.0
  default-extensions:
                     NoImplicitPrelude
                     UnicodeSyntax
                     LambdaCase
                     ConstraintKinds
                     DefaultSignatures
                     FlexibleContexts
                     FlexibleInstances
                     FunctionalDependencies
                     GADTs
                     DeriveGeneric
                     DeriveDataTypeable
                     GeneralizedNewtypeDeriving
                     KindSignatures
                     MultiParamTypeClasses
                     OverloadedStrings
                     PartialTypeSignatures
                     RankNTypes
                     ScopedTypeVariables
                     TypeFamilies
                     TypeSynonymInstances

executable ZFS
  main-is: Main.hs
  other-modules:
                Types
                Types.ZPools
                Types.ZPool
                Types.ZName
  hs-source-dirs:
                 Examples/ZFS
  build-depends:
                 liblawless
  default-language: Haskell2010
  default-extensions:
                     NoImplicitPrelude
                     UnicodeSyntax
                     LambdaCase
                     ConstraintKinds
                     DefaultSignatures
                     FlexibleContexts
                     FlexibleInstances
                     FunctionalDependencies
                     GADTs
                     DeriveGeneric
                     DeriveDataTypeable
                     GeneralizedNewtypeDeriving
                     KindSignatures
                     MultiParamTypeClasses
                     OverloadedStrings
                     PartialTypeSignatures
                     RankNTypes
                     ScopedTypeVariables
                     TypeFamilies
                     TypeSynonymInstances