revise .cabal
This commit is contained in:
parent
829a541333
commit
d23eeeef61
@ -13,9 +13,11 @@ 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:
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-base-prof
|
||||
@ -70,6 +72,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
|
||||
|
||||
|
||||
|
72
vault-0.3.1.5.cabal
Normal file
72
vault-0.3.1.5.cabal
Normal file
@ -0,0 +1,72 @@
|
||||
Name: vault
|
||||
Version: 0.3.1.5
|
||||
x-revision: 1
|
||||
Synopsis: a persistent store for values of arbitrary types
|
||||
Description:
|
||||
A /vault/ is a persistent store for values of arbitrary types.
|
||||
It's like having first-class access to the storage space behind IORefs.
|
||||
.
|
||||
The data structure is analogous to a bank vault,
|
||||
where you can access different bank boxes with different keys;
|
||||
hence the name.
|
||||
.
|
||||
Also provided is a /locker/ type, representing a store for a single element.
|
||||
|
||||
Category: Data
|
||||
License: BSD3
|
||||
License-file: LICENSE
|
||||
Author: Heinrich Apfelmus, Elliott Hird
|
||||
Maintainer: Heinrich Apfelmus <apfelmus at quantentunnel de>
|
||||
Homepage: https://github.com/HeinrichApfelmus/vault
|
||||
Copyright: (c) Heinrich Apfelmus 2011-2013
|
||||
|
||||
build-type: Simple
|
||||
cabal-version: >= 1.10
|
||||
Tested-With: GHC == 7.6.3
|
||||
,GHC == 7.8.4
|
||||
,GHC == 7.10.3
|
||||
,GHC == 8.0.2
|
||||
,GHC == 8.2.2
|
||||
,GHC == 8.4.4
|
||||
,GHC == 8.6.5
|
||||
,GHC == 8.8.3
|
||||
,GHC == 8.10.1
|
||||
|
||||
extra-source-files:
|
||||
CHANGELOG.md
|
||||
README.md
|
||||
src/Data/Vault/IO.h
|
||||
src/Data/Vault/ST/ST.h
|
||||
src/Data/Vault/ST/backends/GHC.h
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/HeinrichApfelmus/vault.git
|
||||
|
||||
flag UseGHC
|
||||
description: Use GHC-specific packages and extensions.
|
||||
default: True
|
||||
|
||||
Library
|
||||
hs-source-dirs: src
|
||||
build-depends: base >= 4.5 && < 4.17,
|
||||
containers >= 0.4 && < 0.7,
|
||||
unordered-containers >= 0.2.3.0 && < 0.3,
|
||||
hashable >= 1.1.2.5 && < 1.5
|
||||
|
||||
if impl(ghc < 8.0)
|
||||
build-depends: semigroups >= 0.1 && < 1.0
|
||||
|
||||
default-language: Haskell2010
|
||||
default-extensions: CPP
|
||||
ghc-options: -Wall -fno-warn-missing-signatures
|
||||
|
||||
exposed-modules:
|
||||
Data.Vault.Lazy,
|
||||
Data.Vault.Strict,
|
||||
Data.Vault.ST.Lazy,
|
||||
Data.Vault.ST.Strict,
|
||||
Data.Unique.Really
|
||||
|
||||
if impl(ghc) && flag(UseGHC)
|
||||
CPP-options: -DUseGHC
|
Loading…
Reference in New Issue
Block a user