summaryrefslogtreecommitdiff
path: root/dev-haskell/drbg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-haskell/drbg
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-haskell/drbg')
-rw-r--r--dev-haskell/drbg/Manifest3
-rw-r--r--dev-haskell/drbg/drbg-0.5.5.ebuild51
-rw-r--r--dev-haskell/drbg/metadata.xml8
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-haskell/drbg/Manifest b/dev-haskell/drbg/Manifest
new file mode 100644
index 000000000000..aad2dea89c04
--- /dev/null
+++ b/dev-haskell/drbg/Manifest
@@ -0,0 +1,3 @@
+DIST DRBG-0.5.5.tar.gz 1547022 BLAKE2B ca70a605334a60a0c4fcb1bf55c5e2f30065e55387372bfe0068b4ffa69e79607432b5eeef395126c00801e45a39a34b94c96e526357c8bec6fce077484c1c15 SHA512 e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be
+EBUILD drbg-0.5.5.ebuild 1369 BLAKE2B 659d016cdc6334059597f7dad289f40275fde42e0f4df7dbbfaa87b22dbac737f55372ab88ffc72d99440a42738bffea23d52865f66f98c22dfe12db344fa410 SHA512 acc9e72f340f1ebbeb9820cb675ac05737166e00a80756ab4c51340aa0729de636bc8eeab0df328bdb86af48a4186246c74e8a8a258d0c7e1c1a31f8e930cec9
+MISC metadata.xml 249 BLAKE2B 84b809c265ff2a09d1f06c66d4797652ff4c64205d94323e07333ae0fbddcfb8c58d0176a8cc52bd37e9353371d987b9b473b9747cb082e1c2871ed80fcfa144 SHA512 ce055b41ff1c10209e88579fe21ce16550be7e9b21f87724564f06430aa6f478974f186a10c8ff7e92398f534c09109aeed57eae1c6d2b56b5c99ebfb64a0015
diff --git a/dev-haskell/drbg/drbg-0.5.5.ebuild b/dev-haskell/drbg/drbg-0.5.5.ebuild
new file mode 100644
index 000000000000..9437a37de532
--- /dev/null
+++ b/dev-haskell/drbg/drbg-0.5.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="DRBG"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Deterministic random bit generator (aka PRNG) based HMACs, Hashes, and Ciphers"
+HOMEPAGE="https://hackage.haskell.org/package/DRBG"
+SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RESTRICT=test # fails own tests
+
+RDEPEND=">=dev-haskell/cereal-0.5:=[profile?] <dev-haskell/cereal-0.6:=[profile?]
+ >=dev-haskell/cipher-aes128-0.6:=[profile?]
+ >=dev-haskell/crypto-api-0.13:=[profile?]
+ >=dev-haskell/cryptohash-cryptoapi-0.1:=[profile?]
+ dev-haskell/entropy:=[profile?]
+ >=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ dev-haskell/parallel:=[profile?]
+ dev-haskell/prettyclass:=[profile?]
+ >=dev-haskell/tagged-0.7:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( dev-haskell/binary
+ dev-haskell/crypto-api-tests
+ dev-haskell/hunit
+ dev-haskell/quickcheck
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag test test)
+}
diff --git a/dev-haskell/drbg/metadata.xml b/dev-haskell/drbg/metadata.xml
new file mode 100644
index 000000000000..b7878815d80d
--- /dev/null
+++ b/dev-haskell/drbg/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+</pkgmetadata>