revise .cabal
This commit is contained in:
parent
c971a177c0
commit
361dd0620f
|
@ -13,9 +13,11 @@ 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:
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-base-prof
|
||||
|
@ -64,6 +66,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
name: pattern-arrows
|
||||
version: 0.0.2
|
||||
x-revision: 1
|
||||
cabal-version: >=1.4
|
||||
build-type: Simple
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
synopsis: Arrows for Pretty Printing
|
||||
description: A library for generating concise pretty printers based on precedence rules.
|
||||
copyright: (c) Phil Freeman 2013
|
||||
maintainer: Phil Freeman <paf31@cantab.net>
|
||||
stability: experimental
|
||||
category: Text, Combinators, Pretty Printer
|
||||
author: Phil Freeman <paf31@cantab.net>
|
||||
data-dir: ""
|
||||
homepage: http://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html
|
||||
|
||||
library
|
||||
build-depends: base >=4 && <5, mtl <2.3
|
||||
exposed-modules: Control.PatternArrows
|
||||
exposed: True
|
||||
buildable: True
|
||||
hs-source-dirs: src
|
||||
other-modules:
|
Loading…
Reference in New Issue