cabal-version:       2.0
name:                pagure-cli
version:             0.1
synopsis:            Pagure client
description:         A commandline Pagure client for querying projects and users.
homepage:            https://github.com/juhp/pagure-cli
bug-reports:         https://github.com/juhp/pagure-cli/issues
license:             GPL-2
license-file:        LICENSE
author:              Jens Petersen <juhpetersen@gmail.com>
maintainer:          Jens Petersen <juhpetersen@gmail.com>
copyright:           2019 Jens Petersen
category:            Utility
build-type:          Simple
extra-doc-files:     README.md
                   , CHANGELOG.md
tested-with:         GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5

source-repository head
  type:                git
  location:            https://github.com/juhp/pagure-cli.git

executable pagure
  main-is:             Main.hs

  build-depends:       bytestring
                     , base < 5
                     , http-client
                     , http-client-tls
                     , microlens
                     , microlens-aeson
                     , optparse-applicative
                     , simple-cmd-args >= 0.1.2
                     , text
  if impl(ghc<8.0)
      build-depends: semigroups

  autogen-modules:     Paths_pagure_cli
  other-modules:       Paths_pagure_cli

  ghc-options:         -Wall

  default-language:    Haskell2010
  default-extensions:  OverloadedStrings