1
0

Accepting request 623752 from devel:languages:haskell

- Cosmetic: replace tabs with blanks, strip trailing white space,
  and update copyright headers with spec-cleaner.

- Revise cabal build file to specify more accurate dependencies.

OBS-URL: https://build.opensuse.org/request/show/623752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-cryptonite-conduit?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2018-07-24 15:17:01 +00:00 committed by Git OBS Bridge
commit 164896935c
3 changed files with 70 additions and 1 deletions

57
cryptonite-conduit.cabal Normal file
View File

@ -0,0 +1,57 @@
Name: cryptonite-conduit
version: 0.2.2
x-revision: 1
Synopsis: cryptonite conduit
Description:
Conduit bridge for cryptonite
.
For now only provide a conduit version for hash and hmac, but
with contribution, this could provide cipher conduits too,
and probably other things.
License: BSD3
License-file: LICENSE
Copyright: Vincent Hanquez <vincent@snarc.org>
Author: Vincent Hanquez <vincent@snarc.org>
Maintainer: vincent@snarc.org
Category: Cryptography, Conduit
Stability: experimental
Build-Type: Simple
Homepage: https://github.com/haskell-crypto/cryptonite-conduit
Cabal-Version: >=1.8
Extra-source-files: README.md CHANGELOG.md
Library
Exposed-modules: Crypto.Cipher.ChaChaPoly1305.Conduit
Crypto.MAC.HMAC.Conduit
Crypto.Hash.Conduit
Crypto.PubKey.ECIES.Conduit
Build-depends: base >= 4.8 && < 5
, bytestring
, conduit
, conduit-extra
, cryptonite
, exceptions
, memory
, resourcet
, transformers
ghc-options: -Wall -fwarn-tabs
test-suite cryptonite-conduit-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, bytestring
, conduit
, conduit-combinators
, cryptonite
, cryptonite-conduit
, memory
, tasty
, tasty-hunit
, tasty-quickcheck
ghc-options: -Wall
source-repository head
type: git
location: https://github.com/haskell-crypto/cryptonite-conduit

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Jul 18 14:26:20 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Wed Jul 18 14:11:52 UTC 2018 - psimons@suse.com
- Revise cabal build file to specify more accurate dependencies.
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
@ -19,4 +30,3 @@ Sun Feb 12 14:11:16 UTC 2017 - psimons@suse.com
Sun Jul 10 17:22:29 UTC 2016 - psimons@suse.com
- Update to version 0.1 revision 0 with cabal2obs.

View File

@ -26,6 +26,7 @@ License: BSD-3-Clause
Group: Development/Libraries/Haskell
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-bytestring-devel
BuildRequires: ghc-conduit-devel
@ -64,6 +65,7 @@ files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build