packages feed

fedora-dists-2.0.0: fedora-dists.cabal

cabal-version:       1.18
name:                fedora-dists
version:             2.0.0
synopsis:            Library for Fedora distribution versions
description:
            This library provides the Dist datatype and various associated
            metadata functions for Red Hat distributions (Fedora, EPEL, RHEL)
            needed for packaging development and building. It uses current
            releasedata from Fedora PDC. Also provides a Branch type.
homepage:            https://github.com/juhp/fedora-dists
bug-reports:         https://github.com/juhp/fedora-dists/issues
license:             GPL-3
license-file:        LICENSE
author:              Jens Petersen
maintainer:          petersen@fedoraproject.org
copyright:           2018-2022 Jens Petersen
category:            Distribution
build-type:          Simple
extra-doc-files:     README.md
                   , CHANGELOG.md
tested-with:         GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4,
                     GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7

source-repository head
  type:                git
  location:            https://github.com/juhp/fedora-dists.git

library
  exposed-modules:     Distribution.Fedora
                       Distribution.Fedora.Branch
  other-modules:       Distribution.Fedora.Release
                       Distribution.Fedora.Products
  hs-source-dirs:      src

  build-depends:       base >= 4.6 && < 5
                     , aeson
                     , bytestring
                     , pdc
                     , cached-json-file
                     , text
                     , time

  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