revised .cabal
This commit is contained in:
parent
0766122aad
commit
4bf1719ddf
@ -1,4 +1,4 @@
|
||||
# generated by cabal-rpm-2.0.2
|
||||
# generated by cabal-rpm-2.0.3
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name microlens-th
|
||||
@ -15,6 +15,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:
|
||||
@ -76,6 +77,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
|
||||
|
||||
|
||||
@ -129,6 +131,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
%changelog
|
||||
* Thu Feb 20 2020 Jens Petersen <petersen@redhat.com> - 0.4.2.3-6
|
||||
- enable tests
|
||||
- revised .cabal
|
||||
|
||||
* Wed Feb 19 2020 Jens Petersen <petersen@redhat.com> - 0.4.2.3-5
|
||||
- refresh to cabal-rpm-2.0.2
|
||||
|
62
microlens-th-0.4.2.3.cabal
Normal file
62
microlens-th-0.4.2.3.cabal
Normal file
@ -0,0 +1,62 @@
|
||||
name: microlens-th
|
||||
version: 0.4.2.3
|
||||
x-revision: 1
|
||||
synopsis: Automatic generation of record lenses for microlens
|
||||
description:
|
||||
This package lets you automatically generate lenses for data types; code was extracted from the lens package, and therefore generated lenses are fully compatible with ones generated by lens (and can be used both from lens and microlens).
|
||||
.
|
||||
This package is a part of the <http://hackage.haskell.org/package/microlens microlens> family; see the readme <https://github.com/aelve/microlens#readme on Github>.
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Eric Mertens, Edward Kmett, Artyom
|
||||
maintainer: Artyom <yom@artyom.me>
|
||||
homepage: http://github.com/aelve/microlens
|
||||
bug-reports: http://github.com/aelve/microlens/issues
|
||||
category: Data, Lenses
|
||||
build-type: Simple
|
||||
extra-source-files:
|
||||
CHANGELOG.md
|
||||
cabal-version: >=1.10
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/aelve/microlens.git
|
||||
|
||||
flag inlining
|
||||
description: Generate inline pragmas
|
||||
manual: True
|
||||
default: True
|
||||
|
||||
library
|
||||
exposed-modules: Lens.Micro.TH
|
||||
-- other-modules:
|
||||
-- other-extensions:
|
||||
build-depends: base >=4.5 && <5
|
||||
, microlens >=0.4.0 && <0.5
|
||||
, containers >=0.4.0 && <0.7
|
||||
, transformers
|
||||
-- lens has >=2.4, but GHC 7.4 shipped with 2.7
|
||||
, template-haskell >=2.7 && <2.15
|
||||
, th-abstraction >=0.2.1 && <0.4
|
||||
|
||||
if flag(inlining)
|
||||
cpp-options: -DINLINING
|
||||
|
||||
ghc-options:
|
||||
-Wall -fwarn-tabs
|
||||
-O2 -fdicts-cheap -funbox-strict-fields
|
||||
-fmax-simplifier-iterations=10
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite templates
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: templates.hs
|
||||
other-modules: T799
|
||||
ghc-options: -Wall -threaded
|
||||
hs-source-dirs: test
|
||||
|
||||
build-depends: base, microlens, microlens-th
|
||||
|
||||
default-language: Haskell2010
|
Loading…
Reference in New Issue
Block a user