revised .cabal file
This commit is contained in:
parent
a234d66c41
commit
fa6d734b15
|
@ -0,0 +1,34 @@
|
|||
name: HStringTemplate
|
||||
version: 0.8.7
|
||||
x-revision: 1
|
||||
synopsis: StringTemplate implementation in Haskell.
|
||||
description: A port of the Java library by Terrence Parr.
|
||||
category: Text
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Sterling Clover
|
||||
maintainer: s.clover@gmail.com
|
||||
Tested-With: GHC == 8.2
|
||||
Build-Type: Simple
|
||||
Cabal-Version: >= 1.6
|
||||
|
||||
|
||||
library
|
||||
|
||||
build-depends: syb, base >= 4, base < 5, filepath, parsec < 4, containers, pretty >= 1.1.0.0,
|
||||
time >= 1.4.2 && < 1.10, bytestring, directory, array, text, deepseq, blaze-builder,void, template-haskell >= 2.3, mtl,
|
||||
old-locale, semigroups >= 0.16
|
||||
|
||||
exposed-modules: Text.StringTemplate
|
||||
Text.StringTemplate.Base
|
||||
Text.StringTemplate.Classes
|
||||
Text.StringTemplate.GenericStandard
|
||||
Text.StringTemplate.QQ
|
||||
other-modules: Text.StringTemplate.Instances
|
||||
Text.StringTemplate.Group
|
||||
Text.StringTemplate.Renderf
|
||||
ghc-options: -Wall
|
||||
|
||||
source-repository head
|
||||
type: darcs
|
||||
location: http://hub.darcs.net/sterlingclover/hstringtemplate
|
|
@ -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:
|
||||
|
@ -80,6 +81,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…
Reference in New Issue