packages feed

SQLiteDAV-0.2.0.0: SQLiteDAV.cabal

cabal-version: 1.12

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

name:           SQLiteDAV
version:        0.2.0.0
synopsis:       WebDAV server that maps an SQLite database to directories and files.
description:    SQLiteDAV is a WebDAV server that exposes an SQLite database as a
                filesystem-like hierarchy.
                .
                It supports two modes:
                .
                * Plain SQLite databases, where tables become folders, rows become
                  folders keyed by rowid, and columns become files named
                  @\<col\>.\<ext\>@ with the extension derived from the cell's type.
                .
                * SQLite Archive (sqlar) databases, where paths inside the archive
                  table are exposed as a filesystem.
                .
                This lets you mount an SQLite database via any WebDAV client (Finder,
                GNOME Files, Windows Explorer, davfs2, etc.) and browse, read, and
                edit its contents as regular files and folders.
category:       Web, Database
homepage:       https://github.com/Airsequel/SQLiteDAV#readme
bug-reports:    https://github.com/Airsequel/SQLiteDAV/issues
author:         Adrian Sieber
maintainer:     Adrian Sieber
license:        MIT
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/Airsequel/SQLiteDAV

library
  exposed-modules:
      SQLiteDAV.API
      SQLiteDAV.HTTPExtensions
      SQLiteDAV.MimeDetect
      SQLiteDAV.Properties
      SQLiteDAV.Server
      SQLiteDAV.SQLAR
      SQLiteDAV.Utils
  other-modules:
      Paths_SQLiteDAV
  hs-source-dirs:
      src
  default-extensions:
      NoImplicitPrelude
      OverloadedRecordDot
      OverloadedStrings
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , containers
    , directory
    , exceptions
    , filepath
    , http-types
    , magic
    , mime-types
    , protolude
    , regex-tdfa
    , servant
    , servant-foreign
    , servant-options
    , servant-server
    , sqlite-simple
    , text
    , time
    , unix
    , wai-extra
    , xml
    , xml-conduit
    , zlib
  default-language: GHC2021

executable sqlitedav
  main-is: Main.hs
  other-modules:
      Paths_SQLiteDAV
  hs-source-dirs:
      app
  default-extensions:
      NoImplicitPrelude
      OverloadedRecordDot
      OverloadedStrings
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      SQLiteDAV
    , aeson
    , base >=4.7 && <5
    , bytestring
    , containers
    , directory
    , exceptions
    , filepath
    , http-types
    , magic
    , mime-types
    , optparse-applicative
    , protolude
    , regex-tdfa
    , servant
    , servant-foreign
    , servant-options
    , servant-server
    , sqlite-simple
    , text
    , time
    , unix
    , wai-extra
    , warp
    , xml
    , xml-conduit
    , zlib
  default-language: GHC2021

test-suite sqlitedav-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_SQLiteDAV
  hs-source-dirs:
      test
  default-extensions:
      NoImplicitPrelude
      OverloadedRecordDot
      OverloadedStrings
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -main-is Spec
  build-depends:
      SQLiteDAV
    , aeson
    , base >=4.7 && <5
    , bytestring
    , containers
    , directory
    , exceptions
    , filepath
    , hspec
    , hspec-wai
    , http-types
    , magic
    , mime-types
    , protolude
    , regex-tdfa
    , servant
    , servant-foreign
    , servant-options
    , servant-server
    , sqlite-simple
    , text
    , time
    , unix
    , wai
    , wai-extra
    , xml
    , xml-conduit
    , zlib
  default-language: GHC2021