packages feed

pi-hoole-0.1.0.0: pi-hoole.cabal

name:           pi-hoole
version:        0.1.0.0
synopsis:       Lightweight access control solution for the pijul vcs
description:    Please see the introductory post at <https://lthms.xyz/blog/pi-hoole>
category:       Security
author:         Thomas Letan
maintainer:     lthms <contact@thomasletan.fr>
copyright:      2018 Thomas Letan
license:        AGPL-3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    ChangeLog.md
    README.md

library
  exposed-modules:  PiHoole
  hs-source-dirs:   src
  build-depends:    aeson              >=1.0   && <1.4
                  , base               >=4.7   && <5.0
                  , containers         >=0.5.9 && <0.6
                  , directory          >=1.2   && <1.4
                  , filepath           >=1.4   && <1.5
                  , megaparsec         >=5.0   && <6.6
                  , process            >=1.0   && <1.7
                  , text               >=1.0   && <1.3
  default-language: Haskell2010

executable pi-hoole-cfg
  main-is:          Main.hs
  hs-source-dirs:   app/cfg
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  build-depends:    aeson              >=1.0   && <1.4
                  , base               >=4.7   && <5
                  , containers         >=0.5.9 && <0.6
                  , directory          >=1.2   && <1.4
                  , filepath           >=1.4   && <1.5
                  , optparse-generic   >=1.0   && <1.4
                  , pi-hoole
                  , regex-pcre         >=0.91  && <0.95
                  , text               >=1.0   && <1.3
                  , unix               >=2.0   && <2.8
                  , yaml               >=0.8   && <0.9
  default-language: Haskell2010

executable pi-hoole-shell
  main-is:          Main.hs
  hs-source-dirs:   app/shell
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  build-depends:    aeson              >=1.0   && <1.4
                  , base               >=4.7   && <5
                  , containers         >=0.5.9 && <0.6
                  , directory          >=1.2   && <1.4
                  , filepath           >=1.4   && <1.5
                  , megaparsec         >=5.0   && <6.6
                  , pi-hoole
                  , text               >=1.0   && <1.3
                  , yaml               >=0.8   && <0.9
  default-language: Haskell2010

executable pi-hoole-web
  main-is:          Main.hs
  hs-source-dirs:   app/web
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  build-depends:    aeson              >=1.0   && <1.4
                  , base               >=4.7   && <5
                  , base58-bytestring  >=0.1   && <0.2
                  , bytestring         >=0.10  && <0.11
                  , containers         >=0.5.9 && <0.6
                  , directory          >=1.2   && <1.4
                  , filepath           >=1.4   && <1.5
                  , http-types         >=0.9   && <0.13
                  , pi-hoole
                  , regex-pcre         >=0.91  && <0.95
                  , text               >=1.0   && <1.3
                  , wai                >=3.0   && <3.3
                  , warp               >=3.0   && <3.3
                  , yaml               >=0.8   && <0.9
  default-language: Haskell2010

test-suite pi-hoole-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  hs-source-dirs:   test
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  build-depends:    base >=4.7 && <5
                  , pi-hoole
  default-language: Haskell2010

source-repository head
  type:             pijul
  location:         https://pijul.lthms.xyz/pijul/pi-hoole