packages feed

haskell-opentimestamps-0.5.5.1: haskell-opentimestamps.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.38.2.
--
-- see: https://github.com/sol/hpack

name:           haskell-opentimestamps
version:        0.5.5.1
synopsis:       Haskell implementation of OpenTimestamps
description:    Please see the README on Codeberg at <https://codeberg.org/photonsphere/haskell-opentimestamps#readme>
category:       Bitcoin, Finance, Network, Cryptography
author:         A.H.M. (Mari) Donkers
maintainer:     a.h.m.donkers@photonsphere.org
copyright:      2025 A.H.M. (Mari) Donkers
license:        BSD3
license-file:   LICENSE
build-type:     Simple
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

source-repository head
  type: git
  location: https://codeberg.org/photonsphere/haskell-opentimestamps

library
  exposed-modules:
      OpenTimestamps
      OpenTimestamps.Attestation
      OpenTimestamps.Config
      OpenTimestamps.DetachedTimestampFile
      OpenTimestamps.Op
      OpenTimestamps.Stamp
      OpenTimestamps.Timestamp
      OpenTimestamps.VarInt
      OpenTimestamps.Upgrade
      OpenTimestamps.Prune
      OpenTimestamps.Verify
  other-modules:
      OpenTimestamps.Types
      Paths_haskell_opentimestamps
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      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
    , cereal >=0.5 && <1
    , containers >=0.6 && <1
    , cryptonite >=0.25 && <1
    , filepath >=1.4 && <2
    , haskoin-core >=1.0 && <2
    , http-client >=0.7 && <1
    , http-conduit >=2.3 && <3
    , memory >=0.15 && <1
    , mtl >=2.2 && <3
    , servant >=0.20 && <1
    , text >=2.0 && <3
    , time >=1.8 && <2
  default-language: Haskell2010

test-suite haskell-opentimestamps-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Arbitrary
      PruneSpec
      VerifySpec
      UpgradeSpec
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -main-is Spec
  build-depends:
      QuickCheck
    , base
    , base16-bytestring
    , binary
    , bitcoind-rpc
    , bytes
    , bytestring
    , containers
    , directory
    , filepath
    , haskell-opentimestamps
    , haskoin-core
    , hspec
    , memory
    , process
    , random
    , text
    , time
  default-language: Haskell2010