1
0

osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-cryptonite-conduit revision:4, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cryptonite-conduit?expand=0&rev=19
This commit is contained in:
Peter Simons 2018-06-02 11:51:15 +00:00 committed by Git OBS Bridge
parent c4c2df8ddb
commit 479f2aaf9e
2 changed files with 59 additions and 0 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

@ -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