name: haskell-opentimestamps
version: 0.5.5.2
license: BSD3
#x-license: BSD-3-Clause OR Apache-2.0
git: "https://codeberg.org/photonsphere/haskell-opentimestamps"
author: "A.H.M. (Mari) Donkers"
maintainer: "a.h.m.donkers@photonsphere.org"
copyright: "2025 A.H.M. (Mari) Donkers"
category: Bitcoin, Finance, Network, Cryptography
synopsis: Haskell implementation of OpenTimestamps
extra-source-files:
- LICENSE
- README.md
- CHANGELOG.md
- package.yaml
- cabal.project
- cabal.project.freeze
- Makefile
- examples/invalid/README.md
- examples/invalid/bad-major-version.ots
- examples/invalid/exceeds-max-msg-length.ots
- examples/invalid/invalid-file-digest-type.ots
- examples/sha1/README.md
- examples/sha1/a
- examples/sha1/a-or-b.ots
- examples/sha1/b
- examples/README.md
- examples/bad-stamp.txt
- examples/bad-stamp.txt.ots
- examples/bitcoin.pdf.ots
- examples/different-blockchains.txt
- examples/different-blockchains.txt.ots
- examples/empty
- examples/empty.ots
- examples/hello-world.txt
- examples/hello-world.txt.ots
- examples/incomplete.txt
- examples/incomplete.txt.ots
- examples/known-and-unknown-notary.txt
- examples/known-and-unknown-notary.txt.ots
- examples/merkle1.txt
- examples/merkle1.txt.ots
- examples/merkle2.txt
- examples/merkle2.txt.ots
- examples/merkle3.txt
- examples/merkle3.txt.ots
- examples/two-calendars.txt
- examples/two-calendars.txt.ots
- examples/unknown-notary.txt
- examples/unknown-notary.txt.ots
description: Please see the README on Codeberg at <https://codeberg.org/photonsphere/haskell-opentimestamps#readme>
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
library:
source-dirs: src
exposed-modules:
- OpenTimestamps
- OpenTimestamps.Attestation
- OpenTimestamps.Config
- OpenTimestamps.DetachedTimestampFile
- OpenTimestamps.Op
- OpenTimestamps.Stamp
- OpenTimestamps.Timestamp
- OpenTimestamps.VarInt
- OpenTimestamps.Upgrade
- OpenTimestamps.Prune
- OpenTimestamps.Verify
dependencies:
- aeson >= 2.0 && < 3
- base >= 4.7 && < 5
- base16-bytestring >= 1.0 && < 2
- binary >= 0.8 && < 1
- bitcoind-rpc >= 0.3 && < 1
- bytes >= 0.17 && < 1
- bytestring >= 0.10 && < 1
- containers >= 0.6 && < 1
- cryptonite >= 0.25 && < 1
- filepath >= 1.4 && < 2
- http-client >= 0.7 && < 1
- http-conduit >= 2.3 && < 3
- memory >= 0.15 && < 1
- mtl >= 2.2 && < 3
- text >= 2.0 && < 3
- servant >= 0.20 && < 1
- haskoin-core >= 1.0 && < 2
- time >= 1.8 && < 2
- cereal >= 0.5 && < 1
tests:
haskell-opentimestamps-test:
main: Spec
source-dirs: test
other-modules:
- Arbitrary
- PruneSpec
- VerifySpec
- UpgradeSpec
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- QuickCheck
- base
- base16-bytestring
- binary
- bitcoind-rpc
- bytes
- bytestring
- containers
- directory
- filepath
- haskell-opentimestamps
- haskoin-core
- hspec
- text
- process
- random
- time
- memory