1 |
commit: 103f1f033841f22e0406663a3c66190b47a945f4 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 15 08:32:48 2017 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 15 08:32:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103f1f03 |
7 |
|
8 |
dev-haskell/cryptohash-sha256: new package, a depend of dev-haskell/cabal-install-1.24.0.2 |
9 |
|
10 |
Fast, pure and practical SHA-256 implementation |
11 |
|
12 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
13 |
|
14 |
dev-haskell/cryptohash-sha256/Manifest | 1 + |
15 |
.../cryptohash-sha256-0.11.100.1.ebuild | 30 ++++++++++++++++++++++ |
16 |
dev-haskell/cryptohash-sha256/metadata.xml | 23 +++++++++++++++++ |
17 |
3 files changed, 54 insertions(+) |
18 |
|
19 |
diff --git a/dev-haskell/cryptohash-sha256/Manifest b/dev-haskell/cryptohash-sha256/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000000..9ba15d08bf |
22 |
--- /dev/null |
23 |
+++ b/dev-haskell/cryptohash-sha256/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST cryptohash-sha256-0.11.100.1.tar.gz 10885 SHA256 57b02338e9648639335788b422dd4c744543cb0991347472e2e3628a33c2f5d6 SHA512 df6a8c7a4796f3b94faf0c1073b552eccf7dfbe6ab1489fef391e6342f34b3cb29991d1313aa5da11a90cb37bcd43c23eea12073ad4c7190926005de952c39e2 WHIRLPOOL 40b6b78e3631085765cea2d5868de95939d52e41b1de36b9ccb862b0b4cdfe8b144516ef551ab0c659b6652849d53e66ec6984f3bcdebae59bf3354c24f42060 |
26 |
|
27 |
diff --git a/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.100.1.ebuild b/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.100.1.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000000..46779495ea |
30 |
--- /dev/null |
31 |
+++ b/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.100.1.ebuild |
32 |
@@ -0,0 +1,30 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+# ebuild generated by hackport 0.5.9999 |
40 |
+ |
41 |
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" |
42 |
+inherit haskell-cabal |
43 |
+ |
44 |
+DESCRIPTION="Fast, pure and practical SHA-256 implementation" |
45 |
+HOMEPAGE="https://github.com/hvr/cryptohash-sha256" |
46 |
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="BSD" |
49 |
+SLOT="0/${PV}" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="" |
52 |
+ |
53 |
+RDEPEND=">=dev-lang/ghc-7.4.1:= |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ >=dev-haskell/cabal-1.10 |
57 |
+ test? ( >=dev-haskell/base16-bytestring-0.1.1 <dev-haskell/base16-bytestring-0.2 |
58 |
+ >=dev-haskell/sha-1.6.4 <dev-haskell/sha-1.7 |
59 |
+ >=dev-haskell/tasty-0.11 <dev-haskell/tasty-0.12 |
60 |
+ >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.10 |
61 |
+ >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.9 ) |
62 |
+" |
63 |
|
64 |
diff --git a/dev-haskell/cryptohash-sha256/metadata.xml b/dev-haskell/cryptohash-sha256/metadata.xml |
65 |
new file mode 100644 |
66 |
index 0000000000..b1c194fc68 |
67 |
--- /dev/null |
68 |
+++ b/dev-haskell/cryptohash-sha256/metadata.xml |
69 |
@@ -0,0 +1,23 @@ |
70 |
+<?xml version="1.0" encoding="UTF-8"?> |
71 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
72 |
+<pkgmetadata> |
73 |
+ <maintainer type="project"> |
74 |
+ <email>haskell@g.o</email> |
75 |
+ <name>Gentoo Haskell</name> |
76 |
+ </maintainer> |
77 |
+ <longdescription> |
78 |
+ A practical incremental and one-pass, pure API to the |
79 |
+ <https://en.wikipedia.org/wiki/SHA-2 SHA-256 hash algorithm> |
80 |
+ with performance close to the fastest implementations available in other languages. |
81 |
+ |
82 |
+ The implementation is made in C with a haskell FFI wrapper that hides the C implementation. |
83 |
+ |
84 |
+ NOTE: This package has been forked off @cryptohash-0.11.7@ because the @cryptohash@ has been |
85 |
+ deprecated and so this package continues to satisfy the need for a lightweight package |
86 |
+ providing the SHA256 hash algorithm without any dependencies on packages other than |
87 |
+ @base@ and @bytestring@. |
88 |
+ |
89 |
+ Consequently, this package can be used as a drop-in replacement for @cryptohash@'s |
90 |
+ "Crypto.Hash.SHA256" module, though with a clearly smaller footprint. |
91 |
+ </longdescription> |
92 |
+</pkgmetadata> |