package rpmfile

  1. Overview
  2. Docs
RPM package reader

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.8.tar.gz
md5=9cb3413fed9ea7f598106e2017ee241c
sha512=beda2fca84fa545be781a21e4763d2a0ab19ffe0819ae2710f4c7622c176a5037b4af4b76ab2e198cefcd26d12449fba1fd816c1469b7c60e4c3440f1de40533

doc/README.html

Rpmfile

A library for reading RPM packages (supports version 3.0 and partially 4.0) powered by Angstrom.

Installation

Installation by OPAM package manager

$ opam install rpmfile

or pin the latest development version from GitHub.

$ opam pin https://github.com/dx3mod/rpmfile.git

Usage

# #require "rpmfile";;
let pkg =
  In_channel.with_open_bin Sys.argv.(1) Rpmfile.Reader.of_channel
  |> Result.get_ok
# Rpmfile.View.name pkg;;
- : string = "hello"

For more details see source code and examples.