diff --git a/cryptonite-conduit.cabal b/cryptonite-conduit.cabal new file mode 100644 index 0000000..888c60a --- /dev/null +++ b/cryptonite-conduit.cabal @@ -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 +Author: Vincent Hanquez +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 diff --git a/ghc-cryptonite-conduit.changes b/ghc-cryptonite-conduit.changes index 4f6b9bc..7adb8ff 100644 --- a/ghc-cryptonite-conduit.changes +++ b/ghc-cryptonite-conduit.changes @@ -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. - diff --git a/ghc-cryptonite-conduit.spec b/ghc-cryptonite-conduit.spec index d9f5af8..81e6deb 100644 --- a/ghc-cryptonite-conduit.spec +++ b/ghc-cryptonite-conduit.spec @@ -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