revised .cabal file
This commit is contained in:
parent
2b9010110a
commit
728e44e829
|
@ -13,6 +13,7 @@ License: BSD
|
|||
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:
|
||||
|
@ -72,6 +73,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
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,74 @@
|
|||
name: reducers
|
||||
category: Data, Math, Numerical, Semigroups
|
||||
version: 3.12.3
|
||||
x-revision: 1
|
||||
license: BSD3
|
||||
cabal-version: >= 1.6
|
||||
license-file: LICENSE
|
||||
author: Edward A. Kmett
|
||||
maintainer: Edward A. Kmett <ekmett@gmail.com>
|
||||
stability: provisional
|
||||
homepage: http://github.com/ekmett/reducers/
|
||||
bug-reports: http://github.com/ekmett/reducers/issues
|
||||
copyright: Copyright (C) 2008-2016 Edward A. Kmett
|
||||
synopsis: Semigroups, specialized containers and a general map/reduce framework
|
||||
description: Semigroups, specialized containers and a general map/reduce framework.
|
||||
build-type: Simple
|
||||
extra-source-files: .travis.yml
|
||||
tested-with: GHC == 7.0.4
|
||||
, GHC == 7.2.2
|
||||
, GHC == 7.4.2
|
||||
, GHC == 7.6.3
|
||||
, GHC == 7.8.4
|
||||
, GHC == 7.10.3
|
||||
, GHC == 8.0.2
|
||||
, GHC == 8.2.2
|
||||
, GHC == 8.4.3
|
||||
, GHC == 8.6.1
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/ekmett/reducers.git
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
|
||||
build-depends:
|
||||
base >= 4 && < 5,
|
||||
array >= 0.3 && < 0.6,
|
||||
transformers >= 0.2 && < 0.6,
|
||||
bytestring >= 0.9.1 && < 0.11,
|
||||
containers >= 0.3 && < 0.7,
|
||||
fingertree >= 0.1 && < 0.2,
|
||||
hashable >= 1.1.2.1 && < 1.4,
|
||||
text >= 0.11.1.5 && < 1.3,
|
||||
unordered-containers >= 0.2 && < 0.3,
|
||||
semigroups >= 0.9 && < 1,
|
||||
semigroupoids >= 4 && < 6
|
||||
|
||||
exposed-modules:
|
||||
Data.Generator
|
||||
Data.Generator.Combinators
|
||||
Data.Semigroup.Generator
|
||||
Data.Semigroup.Reducer
|
||||
Data.Semigroup.Reducer.With
|
||||
Data.Semigroup.Instances
|
||||
Data.Semigroup.Union
|
||||
Data.Semigroup.Apply
|
||||
Data.Semigroup.Applicative
|
||||
Data.Semigroup.Alt
|
||||
Data.Semigroup.Alternative
|
||||
Data.Semigroup.Monad
|
||||
Data.Semigroup.MonadPlus
|
||||
Data.Semigroup.Self
|
||||
|
||||
if impl(ghc)
|
||||
extensions: DeriveDataTypeable
|
||||
cpp-options: -DLANGUAGE_DeriveDataTypeable
|
||||
|
||||
ghc-options: -Wall
|
||||
|
||||
-- hack around the buggy unused matches check for class associated types in ghc 8 rc1
|
||||
if impl(ghc >= 8)
|
||||
ghc-options: -fno-warn-unused-matches
|
||||
|
Loading…
Reference in New Issue