packages feed

koji-install-0.3: koji-install.cabal

name:                koji-install
version:             0.3
synopsis:            CLI tool for installing rpms directly from Fedora Koji
description:
        koji-install can install the latest koji build of a package locally.
        By default it only downloads newer binaries of already-installed
        subpackages, but there are options to override that.
license:             BSD3
license-file:        LICENSE
author:              Jens Petersen <juhpetersen@gmail.com>
maintainer:          Jens Petersen <juhpetersen@gmail.com>
copyright:           2021  Jens Petersen <juhpetersen@gmail.com>
category:            Utility
homepage:            https://github.com/juhp/koji-install
bug-reports:         https://github.com/juhp/koji-install/issues
build-type:          Simple
extra-doc-files:     README.md
                     ChangeLog.md
cabal-version:       1.18
tested-with:         GHC== 8.4.4
                     || == 8.6.5
                     || == 8.8.4
                     || == 8.10.5
                     || == 9.0.1

source-repository head
  type:                git
  location:            https://github.com/juhp/koji-install.git

executable koji-install
  main-is:             Main.hs
  other-modules:       Paths_koji_install
                       DownloadDir
  hs-source-dirs:      src
  build-depends:       base < 5,
                       directory,
                       extra,
                       filepath,
                       koji >= 0.0.2,
                       rpm-nvr,
                       simple-cmd,
                       simple-cmd-args,
                       xdg-userdirs
  if impl(ghc<8.4)
       build-depends: http-common < 0.8.3.4
  default-language:    Haskell2010
  ghc-options:         -Wall -threaded
  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

test-suite test
    main-is: tests.hs
    type: exitcode-stdio-1.0
    hs-source-dirs: test

    default-language: Haskell2010

    ghc-options:   -Wall
    build-depends: base >= 4 && < 5
                 , simple-cmd
    build-tools:   koji-install