revise .cabal

This commit is contained in:
Jens Petersen 2018-07-29 00:53:28 +09:00
parent 93ad555bea
commit 9bc76abc41
2 changed files with 64 additions and 2 deletions

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,4 +1,4 @@
# generated by cabal-rpm-0.12.1
# generated by cabal-rpm-0.12.5
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name cryptonite-conduit
@ -8,12 +8,13 @@
Name: ghc-%{pkg_name}
Version: 0.2.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Cryptonite conduit
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -60,6 +61,7 @@ files.
%prep
%setup -q -n %{pkgver}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
@ -91,6 +93,9 @@ files.
%changelog
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.2.2-4
- revise .cabal
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild