mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-09 00:10:21 +03:00
dev-haskell/vector-binary-instances: add 0.2.5.2
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,3 @@
|
||||
DIST vector-binary-instances-0.2.5.1.tar.gz 4067 BLAKE2B 4c4bc50e10be05d0a063cd417198c52e5f79e94547b69eac5d87d26762e62e92dbcb9dfc3209a4d105ca6e3ae772a918de1b983856beeb9117c5c9fdae467b21 SHA512 a16202b8ca3f88df82c27b37511087008579296363c73fe09ab19b00dee0fbaf98699b79b08d7e7410fcd062c03f2c5d1560f6b1c9ebf1ab8290596a35758be0
|
||||
DIST vector-binary-instances-0.2.5.2-rev5.cabal 2728 BLAKE2B 33fa3b860a5f5ff2e9a6b2cfa9a3d58fe9715a7973c95ac745ac2e33993d3d7555f77a16a924e201b8214edab5d060348bbf4acbe19341f4466512dba788cd0e SHA512 28f94e3192c498d24a91ebcdc8e8e54fdbfa6d0b0d7d39a325874c986b311939a7f4f888796fd669acab758f64e7742073518cf66a89b5714822bee1d372dc91
|
||||
DIST vector-binary-instances-0.2.5.2.tar.gz 4028 BLAKE2B 45e222d9ef3be00af5e40062092ff78526ce7837125880f18ba3359cbba2d5046d13ac81ef3409d4d81a990df60013d732b6f4f85ea2e65e1c806035899e8033 SHA512 885dff7f6508113c355bb125c3949fd722ea5c6e834beb3083e1e6cc16f84bba1b8fd44cd41990af79f095a18fd282dd1ccd94ccf586c5ca08e54b0454575d03
|
||||
|
||||
@@ -5,27 +5,8 @@
|
||||
<email>haskell@gentoo.org</email>
|
||||
<name>Gentoo Haskell</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Instances for Binary for the types defined in the vector package,
|
||||
making it easy to serialize vectors to and from disk. We use the
|
||||
generic interface to vectors, so all vector types are supported.
|
||||
Specific instances are provided for unboxed, boxed and storable
|
||||
vectors.
|
||||
|
||||
To serialize a vector:
|
||||
|
||||
> *Data.Vector.Binary> let v = Data.Vector.fromList [1..10]
|
||||
> *Data.Vector.Binary> v
|
||||
> fromList [1,2,3,4,5,6,7,8,9,10] :: Data.Vector.Vector
|
||||
> *Data.Vector.Binary> encode v
|
||||
> Chunk "\NUL\NUL\NUL\NUL\NUL...\NUL\NUL\NUL\t\NUL\NUL\NUL\NUL\n" Empty
|
||||
|
||||
Which you can in turn compress before writing to disk:
|
||||
|
||||
> compress . encode $ v
|
||||
> Chunk "\US\139\b\NUL\NUL\N...\229\240,\254:\NUL\NUL\NUL" Empty
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">bos/vector-binary-instances</remote-id>
|
||||
<remote-id type="hackage">vector-binary-instances</remote-id>
|
||||
<remote-id type="github">haskell/vector-binary-instances</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
|
||||
CABAL_HACKAGE_REVISION=5
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Instances of Data.Binary for vector"
|
||||
HOMEPAGE="https://github.com/haskell/vector-binary-instances"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND=">=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.14:=[profile?]
|
||||
>=dev-lang/ghc-8.10.6:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-3.2.1.0
|
||||
test? ( dev-haskell/tasty
|
||||
dev-haskell/tasty-quickcheck )
|
||||
"
|
||||
Reference in New Issue
Block a user