osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-vault revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-vault?expand=0&rev=11
This commit is contained in:
parent
12e0a396d0
commit
b832ef2332
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 3 15:45:02 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update vault to version 0.3.1.5 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 20 00:08:04 UTC 2021 - psimons@suse.com
|
||||
|
||||
|
@ -24,6 +24,7 @@ Summary: A persistent store for values of arbitrary types
|
||||
License: BSD-3-Clause
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-hashable-devel
|
||||
@ -52,6 +53,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
72
vault.cabal
Normal file
72
vault.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