diff --git a/dev-haskell/cryptohash-sha256/Manifest b/dev-haskell/cryptohash-sha256/Manifest index 2f3fa9b976b12..0f862c30cc248 100644 --- a/dev-haskell/cryptohash-sha256/Manifest +++ b/dev-haskell/cryptohash-sha256/Manifest @@ -1 +1,3 @@ DIST cryptohash-sha256-0.11.101.0.tar.gz 14996 BLAKE2B 9caccc3eea4ad25c6ebbdd507771d86264a853f282d03399917b42a5311dcad0501bd0b4ea6fa00d039f67bcea3f81c116b9ec016d65cb2ed6f086b0448894c0 SHA512 c755f1354fb5f1d6cfb54f73e39692392517954118d98b39ac4be7460e75a9ddc91ad641fed0f17e5fa33b62b7b0734af66526ea757e00716832572bb383c612 +DIST cryptohash-sha256-0.11.102.1-rev3.cabal 5457 BLAKE2B ed2c47aaed406a62bff372abf9f7768a7a40dc3a84d9ccd16c50dc5a0a05957f6885a87619d463ef546bd804b406f9a632963ec60818efc12582dac6edca46af SHA512 b1a3807ce57eb3f24b343a903b6849c08e4de90d33f77504723b8c5b18138ab527a953fee3ff06d6a55e4af1360494289149e199182422a9734b209bfe9f37c1 +DIST cryptohash-sha256-0.11.102.1.tar.gz 15707 BLAKE2B 16f7b8c39df3eac22af30ea14c98b0a6ef8056118dbc8236dd8951f7d35e32ba07fbf5f318a0896b0ef70ff1459f03937df4ef30b0247835e7550fedaf42386e SHA512 fb4432050ab1236fc913ba50949ee52a117b0d74509b58868e8ade69bfc6e89e1379dfea48afc76d8527d4fdbaee9dd1d2dcea4530ba95a42441491df005e78c diff --git a/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.102.1.ebuild b/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.102.1.ebuild new file mode 100644 index 0000000000000..0e9b0ff14db75 --- /dev/null +++ b/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.102.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: exe:executable,+use-cbits + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast, pure and practical SHA-256 implementation" +HOMEPAGE="https://github.com/hvr/cryptohash-sha256" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable" + +CABAL_CHBINS=( + 'sha256sum' 'cryptohash-sha256sum' +) + +RDEPEND=" + >=dev-lang/ghc-8.10.6:= + executable? ( + || ( + ( >=dev-haskell/base16-bytestring-0.1.1 haskell@gentoo.org Gentoo Haskell - - A practical incremental and one-pass, pure API to the - <https://en.wikipedia.org/wiki/SHA-2 SHA-256 hash algorithm> - with performance close to the fastest implementations available in other languages. - - The implementation is made in C with a haskell FFI wrapper that hides the C implementation. - - NOTE: This package has been forked off @cryptohash-0.11.7@ because the @cryptohash@ has been - deprecated and so this package continues to satisfy the need for a lightweight package - providing the SHA256 hash algorithm without any dependencies on packages other than - @base@ and @bytestring@. - - Consequently, this package can be used as a drop-in replacement for @cryptohash@'s - "Crypto.Hash.SHA256" module, though with a clearly smaller footprint. - + + Build the cryptohash-sha256sum executable + + cryptohash-sha256 hvr/cryptohash-sha256