revised .cabal file
This commit is contained in:
parent
ac2ded96ab
commit
831017b2eb
36
bench-1.0.12.cabal
Normal file
36
bench-1.0.12.cabal
Normal file
@ -0,0 +1,36 @@
|
||||
name: bench
|
||||
version: 1.0.12
|
||||
x-revision: 1
|
||||
synopsis: Command-line benchmark tool
|
||||
description: Think of this as a more powerful alternative to the @time@
|
||||
command. Use this command-line tool to benchmark a command
|
||||
using Haskell's @criterion@ library.
|
||||
homepage: https://github.com/Gabriel439/bench
|
||||
bug-reports: https://github.com/Gabriel439/bench/issues
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Gabriel Gonzalez
|
||||
maintainer: Gabriel439@gmail.com
|
||||
copyright: 2016 Gabriel Gonzalez
|
||||
category: System
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files:
|
||||
README.md
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/Gabriel439/bench
|
||||
|
||||
executable bench
|
||||
hs-source-dirs: src
|
||||
main-is: Main.hs
|
||||
default-language: Haskell2010
|
||||
build-depends: base >= 4.5 && < 5
|
||||
, criterion >= 1.4 && < 1.6
|
||||
, optparse-applicative >= 0.14.0.0 && < 0.16
|
||||
, process >= 1.3 && < 1.7
|
||||
, silently >= 1.1.1 && < 1.3
|
||||
, text < 1.3
|
||||
, turtle >= 1.2.5 && < 1.6
|
||||
ghc-options: -Wall -O2 -threaded
|
||||
other-modules: Paths_bench
|
@ -10,6 +10,7 @@ License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{name}-%{version}/%{name}.cabal#/%{name}-%{version}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
@ -33,6 +34,7 @@ library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q
|
||||
cp -bp %{SOURCE1} %{name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user