rpm-nvr-0.1.1: rpm-nvr.cabal
name: rpm-nvr
version: 0.1.1
synopsis: RPM package name-version-release data types
description:
The library provides types related to RPM package
name-version-releases. There are modules for reading and showing:
.
* NV (name-version)
.
* NVR (name-version-release)
.
* NVRA (name-version-release.arch)
.
* VerRel (version-release)
.
* VerCmp for comparing RPM versions or releases
(used to order VerRel).
license: GPL-2
license-file: LICENSE
author: Jens Petersen <petersen@redhat.com>
maintainer: Jens Petersen <petersen@redhat.com>
copyright: 2016-2018 Red Hat,
2017,2021 Jens Petersen <petersen@redhat.com>
category: Distribution
homepage: https://github.com/juhp/rpm-nvr
bug-reports: https://github.com/juhp/rpm-nvr/issues
build-type: Simple
extra-doc-files: README.md
ChangeLog.md
cabal-version: 1.18
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.7, GHC == 9.0.1
source-repository head
type: git
location: https://github.com/juhp/rpm-nvr.git
library
build-depends: base < 5,
extra >= 1.5.1,
filepath
default-language: Haskell2010
exposed-modules: Data.RPM
Data.RPM.NV
Data.RPM.NVR
Data.RPM.NVRA
Data.RPM.VerCmp
Data.RPM.VerRel
hs-source-dirs: src
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
if impl(ghc < 7.6)
buildable: False
test-suite tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: RPM.PackageSpec
RPM.VersionSpec
build-depends: hspec,
base < 5.0,
filepath,
rpm-nvr
default-language: Haskell2010
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: -Wpartial-fields
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages