packages feed

pagure-cli-0.3: pagure-cli.cabal

cabal-version:       1.18
name:                pagure-cli
version:             0.3
synopsis:            A Pagure gitforge query tool
description:         A command-line Pagure (gitforge) client for querying
                     and listing projects, users, groups, and issues.
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-2020,2022,2024-2026 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.4, GHC == 8.10.4, GHC == 9.0.2, GHC == 9.2.8,
                     GHC == 9.4.8, GHC == 9.6.6, GHC == 9.8.4, GHC == 9.10.3,
                     GHC == 9.12.4

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

executable pagure
  main-is:             src/Main.hs

  build-depends:       base < 5
                     , pagure-cli
                     , simple-cmd-args >= 0.1.6
  if impl(ghc<8.0)
      build-depends: semigroups

  other-modules:       Paths_pagure_cli

  ghc-options:         -Wall
  if impl(ghc >= 8.0)
    ghc-options:       -Wcompat
                       -Widentities
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wredundant-constraints
  if impl(ghc >= 8.2)
    ghc-options:       -fhide-source-paths
  if impl(ghc >= 8.4)
    ghc-options:       -Wmissing-export-lists
                       -Wpartial-fields
  if impl(ghc >= 8.10)
    ghc-options:       -Wunused-packages

  default-language:    Haskell2010

library
  build-depends:       aeson
                     , aeson-pretty
                     , base >= 4 && < 5
                     , bytestring
                     , extra
                     , http-query
                     , pagure >= 0.2.2
                     , simple-cmd
                     , text
                     , vector
                     , yaml
  if impl(ghc < 9)
    build-depends:     unordered-containers
  hs-source-dirs:      src
  exposed-modules:     Fedora.Pagure.Client

  ghc-options:         -Wall
  if impl(ghc >= 8.0)
    ghc-options:       -Wcompat
                       -Widentities
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wredundant-constraints
  if impl(ghc >= 8.2)
    ghc-options:       -fhide-source-paths
  if impl(ghc >= 8.4)
    ghc-options:       -Wmissing-export-lists
                       -Wpartial-fields
  if impl(ghc >= 8.10)
    ghc-options:       -Wunused-packages

  default-language:    Haskell2010