packages feed

pagure-cli-0.2: pagure-cli.cabal

cabal-version:       2.0
name:                pagure-cli
version:             0.2
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,
                     GHC == 8.8.3

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


flag microlens
  description:       Use smaller microlens instead of lens
  default:           False

executable pagure
  main-is:             Main.hs

  build-depends:       aeson
                     , base < 5
                     , bytestring
                     , filepath
                     , http-conduit
                     , optparse-applicative
                     , simple-cmd-args >= 0.1.6
                     , text
  if flag(microlens)
      build-depends:   microlens, microlens-aeson
      cpp-options:   -DMICROLENS
  else
      build-depends:   lens, lens-aeson

  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