rpm-nvr: RPM package name-version-release data types

[ distribution, gpl ] [ Propose Tags ] [ Report a vulnerability ]

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).


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0, 0.1.1, 0.1.2 (info)
Change log ChangeLog.md
Dependencies base (<5), extra (>=1.5.1), filepath [details]
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
License GPL-2.0-only
Copyright 2016-2018 Red Hat, 2017,2021 Jens Petersen <petersen@redhat.com>
Author Jens Petersen <petersen@redhat.com>
Maintainer Jens Petersen <petersen@redhat.com>
Category Distribution
Home page https://github.com/juhp/rpm-nvr
Bug tracker https://github.com/juhp/rpm-nvr/issues
Source repo head: git clone https://github.com/juhp/rpm-nvr.git
Uploaded by JensPetersen at 2022-05-10T03:40:40Z
Distributions Fedora:0.1.2, LTSHaskell:0.1.2, NixOS:0.1.2, Stackage:0.1.2
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 823 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-05-10 [all 1 reports]

Readme for rpm-nvr-0.1.2

[back to package description]

rpm-nvr

Currently this library provides some types for RPM NVRs: NV, NVR, NVRA, VerRel with read and display functions. There is also an ordering of VerRel based on rpm's vercmp which is implemented as rpmVerCompare.

See the haddock documentation for more details.

rpm-nvr is distributed under the GPLv2+ license.

The testsuite includes testcases for comparing rpm versions from the main rpm project.