packages feed

mbug-1.3.2: mbug.cabal

cabal-version: 1.12
name: mbug
version: 1.3.2
license: GPL-3
license-file: LICENSE
copyright: 2018 Dmitry Bogatov
maintainer: KAction@gnu.org
author: Dmitry Bogatov
homepage: https://gitlab.com/iu-guest/mbug
synopsis: download bugs mailboxes
description:
    See readme at https://gitlab.com/iu-guest/mbug
category: Debian
build-type: Simple
extra-source-files:
    README.md

flag devel
    description:
        Enable -Werror GHC flag. Use only during development!
    default: False
    manual: True

library
    exposed-modules:
        MBug.Main
        MBug.Data.Bug
        MBug.Data.FolderMH
        MBug.Options
        MBug.Scrape
        MBug.Cache
        MBug.MH
        Data.Maybe.Extended
        Text.HTML.Scalpel.Core.Extended
    hs-source-dirs: src
    other-modules:
        Data.Text.Compat
        Options.Applicative.Compat
        Paths_mbug
    default-language: Haskell2010
    build-depends:
        base >4.9 && <5,
        bytestring >=0.10.8.2 && <0.11,
        directory >=1.3.3.0 && <1.4,
        extra >=1.6.14 && <1.7,
        formatting >=6.3.7 && <6.4,
        http-client >=0.5.14 && <0.6,
        http-client-tls >=0.3.5.3 && <0.4,
        mtl >=2.2.2 && <2.3,
        optparse-applicative >=0.14.3.0 && <0.15,
        process >=1.6.3.0 && <1.7,
        scalpel-core >=0.5.1 && <0.6,
        tagsoup >=0.14.7 && <0.15,
        text >=1.2.3.1 && <1.3,
        time >=1.8.0.2 && <1.9,
        xdg-basedir >=0.2.2 && <0.3
    
    if flag(devel)
        ghc-options: -Wall -Wextra -Werror -Wincomplete-patterns
                     -Wunused-imports

executable mbug
    main-is: mbug.hs
    hs-source-dirs: bin
    other-modules:
        Paths_mbug
    default-language: Haskell2010
    build-depends:
        base >4.9 && <5,
        bytestring >=0.10.8.2 && <0.11,
        directory >=1.3.3.0 && <1.4,
        extra >=1.6.14 && <1.7,
        formatting >=6.3.7 && <6.4,
        http-client >=0.5.14 && <0.6,
        http-client-tls >=0.3.5.3 && <0.4,
        mbug -any,
        mtl >=2.2.2 && <2.3,
        optparse-applicative >=0.14.3.0 && <0.15,
        process >=1.6.3.0 && <1.7,
        scalpel-core >=0.5.1 && <0.6,
        tagsoup >=0.14.7 && <0.15,
        text >=1.2.3.1 && <1.3,
        time >=1.8.0.2 && <1.9,
        xdg-basedir >=0.2.2 && <0.3
    
    if flag(devel)
        ghc-options: -Wall -Wextra -Werror -Wincomplete-patterns
                     -Wunused-imports