packages feed

hash-addressed-cli-2.1.0.0: hash-addressed-cli.cabal

cabal-version: 3.0

name: hash-addressed-cli
version: 2.1.0.0
synopsis: Hash-addressed file storage app
category: Hash, Filesystem

description:
    A command-line interface for maintaining a directory wherein each file's
    name is a hash of its content.

homepage:    https://github.com/typeclasses/hash-addressed-cli
bug-reports: https://github.com/typeclasses/hash-addressed-cli/issues

author: Chris Martin
maintainer: Chris Martin, Julie Moronuki

copyright: 2023 Mission Valley Software LLC
license: Apache-2.0
license-file: license.txt

extra-source-files: *.md

source-repository head
    type: git
    location: git://github.com/typeclasses/hash-addressed-cli.git

common base
    default-language: GHC2021
    ghc-options: -Wall
    default-extensions:
        ApplicativeDo
        BlockArguments
        DerivingVia
        LambdaCase
        NamedFieldPuns
        NoImplicitPrelude
    build-depends:
      , base ^>= 4.16 || ^>= 4.17
      , bytestring ^>= 0.11.3
      , containers ^>= 0.6.5
      , cryptohash-sha256 ^>= 0.11.102
      , directory ^>= 1.3.6
      , filepath ^>= 1.4.2
      , hash-addressed ^>= 0.1.0
      , ini ^>= 0.4.2
      , optparse-applicative ^>= 0.16.1 || ^>= 0.17.0
      , pipes ^>= 4.3.16
      , quaalude ^>= 0.0.0
      , resourcet ^>= 1.2.6 || ^>= 1.3.0
      , safe-exceptions ^>= 0.1.7
      , text ^>= 1.2.5 || ^>= 2.0.1
      , transformers ^>= 0.5.6
      , unordered-containers ^>= 0.2.17

library
    import: base
    hs-source-dirs: library
    exposed-modules:
        HashAddressed.App.Command.Type
        HashAddressed.App.Command.Examples
        HashAddressed.App.Command.Examples.Initialize
        HashAddressed.App.Command.Examples.Main
        HashAddressed.App.Command.Examples.Version
        HashAddressed.App.Command.Examples.Write

        HashAddressed.App.HashFunction
        HashAddressed.App.HashFunction.Naming
        HashAddressed.App.HashFunction.Options

        HashAddressed.App.Verbosity
        HashAddressed.App.Verbosity.Type
        HashAddressed.App.Verbosity.Options
        HashAddressed.App.Verbosity.Printing

        HashAddressed.App.Meta
        HashAddressed.App.Meta.Initialization
        HashAddressed.App.Meta.Paths
        HashAddressed.App.Meta.Reading
        HashAddressed.App.Meta.Version

        HashAddressed.App.Version

executable hash-addressed
    import: base
    hs-source-dirs: executable
    main-is: Main.hs
    build-depends: hash-addressed-cli