Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37777766
en ru br
ALT Linux repos
S:3.1.14.0-alt1

Group :: Development/Haskell
RPM: ghc8.6.4-parsec

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define ghc_version 8.6.4
%define hsc_name ghc
%define hsc_version %ghc_version
%define hsc_namever %hsc_name%hsc_version
%define h_pkg_name parsec
%define f_pkg_name parsec
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 3.1.14.0
Release: alt1
License: BSD3
Packager: Grigory Ustinov <grenka at altlinux.org>
Group: Development/Haskell
Url: https://hackage.haskell.org/package/parsec
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Monadic parser combinators

BuildRequires: ghc8.6.4 ghc8.6.4-doc


%description
Parsec is designed from scratch as an industrial-strength parser library.
It is simple, safe, well documented (on the package homepage), has
extensive libraries, good error messages, and is fast. It is defined as a
monad transformer that can be stacked on arbitrary monads, and it is also
parametric in the input stream type.

The main entry point is the "Text.Parsec" module which provides defaults
for parsing 'Char'acter data.

The "Text.ParserCombinators.Parsec" module hierarchy contains the legacy
at parsec-2 at  API and may be removed at some point in the future.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin