revise .cabal

epel9 imports/e9/ghc-conduit-extra-1.3.5-7.el9
Jens Petersen 3 years ago
parent c90f1e1dc1
commit f7517f1a32

@ -0,0 +1,122 @@
Name: conduit-extra
Version: 1.3.5
x-revision: 1
Synopsis: Batteries included conduit: adapters for common libraries.
Description:
The conduit package itself maintains relative small dependencies. The purpose of this package is to collect commonly used utility functions wrapping other library dependencies, without depending on heavier-weight dependencies. The basic idea is that this package should only depend on haskell-platform packages and conduit.
License: MIT
License-file: LICENSE
Author: Michael Snoyman
Maintainer: michael@snoyman.com
Category: Data, Conduit
Build-type: Simple
Cabal-version: >=1.8
Homepage: http://github.com/snoyberg/conduit
extra-source-files:
test/random
test/filesystem/*.txt
test/filesystem/bin/*.txt
ChangeLog.md
README.md
Library
build-depends: transformers <0.6
Exposed-modules: Data.Conduit.Attoparsec
Data.Conduit.Binary
Data.Conduit.ByteString.Builder
Data.Conduit.Filesystem
Data.Conduit.Foldl
Data.Conduit.Lazy
Data.Conduit.Network
Data.Conduit.Network.UDP
Data.Conduit.Process
Data.Conduit.Process.Typed
Data.Conduit.Text
Data.Conduit.Zlib
if !os(windows)
Exposed-modules: Data.Conduit.Network.Unix
if arch(x86_64) || arch(i386)
-- These architectures are able to perform unaligned memory accesses
cpp-options: -DALLOW_UNALIGNED_ACCESS
Build-depends: base >= 4.9 && < 5
, conduit >= 1.3 && < 1.4
, bytestring >= 0.10.2
, text
, transformers
, async
, attoparsec >= 0.10
, directory
, filepath
, network >= 2.3
, primitive >= 0.5
, process
, resourcet >= 1.1
, stm
, streaming-commons >= 0.1.16
, unliftio-core
, typed-process >= 0.2.6
ghc-options: -Wall
test-suite test
hs-source-dirs: test
main-is: Spec.hs
type: exitcode-stdio-1.0
ghc-options: -threaded
cpp-options: -DTEST
build-depends: conduit
, conduit-extra
, base
, hspec >= 1.3
, async
, attoparsec
, bytestring-builder
, bytestring
, exceptions
, process
, resourcet
, QuickCheck
, stm
, streaming-commons
, text
, transformers
, transformers-base
, directory
, filepath
ghc-options: -Wall
if os(windows)
cpp-options: -DWINDOWS
other-modules: Data.Conduit.AttoparsecSpec
Data.Conduit.BinarySpec
Data.Conduit.ByteString.BuilderSpec
Data.Conduit.ExtraSpec
Data.Conduit.FilesystemSpec
Data.Conduit.LazySpec
Data.Conduit.NetworkSpec
Data.Conduit.ProcessSpec
Data.Conduit.Process.TypedSpec
Data.Conduit.TextSpec
Data.Conduit.ZlibSpec
benchmark blaze
type: exitcode-stdio-1.0
hs-source-dirs: bench
build-depends: base
, conduit
, conduit-extra
, gauge
, bytestring
, bytestring-builder
, transformers
main-is: blaze.hs
ghc-options: -Wall -O2 -rtsopts
source-repository head
type: git
location: git://github.com/snoyberg/conduit.git

@ -15,6 +15,7 @@ License: MIT
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -93,6 +94,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup

Loading…
Cancel
Save