summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-07-30 11:47:31 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-01 09:02:49 +0100
commitdd7faae290e142cac0f91008136a6ac48bf46a6a (patch)
tree0e6d8dd56cd8f71b02752372232447ff3fcdb602 /dev-haskell/drbg
parentdev-haskell/cipher-aes128: add package (diff)
downloadgentoo-dd7faae290e142cac0f91008136a6ac48bf46a6a.tar.gz
gentoo-dd7faae290e142cac0f91008136a6ac48bf46a6a.tar.bz2
gentoo-dd7faae290e142cac0f91008136a6ac48bf46a6a.zip
dev-haskell/drbg: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/drbg')
-rw-r--r--dev-haskell/drbg/Manifest1
-rw-r--r--dev-haskell/drbg/drbg-0.5.5.ebuild51
-rw-r--r--dev-haskell/drbg/metadata.xml8
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-haskell/drbg/Manifest b/dev-haskell/drbg/Manifest
new file mode 100644
index 00000000000..95c74888284
--- /dev/null
+++ b/dev-haskell/drbg/Manifest
@@ -0,0 +1 @@
+DIST DRBG-0.5.5.tar.gz 1547022 BLAKE2B ca70a605334a60a0c4fcb1bf55c5e2f30065e55387372bfe0068b4ffa69e79607432b5eeef395126c00801e45a39a34b94c96e526357c8bec6fce077484c1c15 SHA512 e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be
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 00000000000..11037761051
--- /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="http://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 00000000000..b7878815d80
--- /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>