aboutsummaryrefslogtreecommitdiff
path: root/sproxy2.cabal
blob: 116c0069c25b44ec3b2a01d10d6dee1034085382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
cabal-version: 1.20
name: sproxy2
version: 1.97.1
license: MIT
license-file: LICENSE
copyright: 2016-2017, Zalora South East Asia Pte. Ltd;
           2017-2019, Igor Pashev <pashev.igor@gmail.com>
maintainer: Igor Pashev <pashev.igor@gmail.com>
author: Igor Pashev <pashev.igor@gmail.com>
synopsis: Secure HTTP proxy for authenticating users via OAuth2
description:
    Sproxy is secure by default. No requests makes it to the backend
    server if they haven't been explicitly whitelisted.  Sproxy is
    independent. Any web application written in any language can
    use it.
category: Databases, Web
build-type: Simple
extra-source-files:
    ChangeLog.md
    README.md
    datafile.example.yml
    sproxy.example.yml
    sproxy.sql

source-repository head
    type: git
    location: https://github.com/ip1981/sproxy2.git

executable sproxy2
    main-is: Main.hs
    hs-source-dirs: src
    other-modules:
        Sproxy.Application
        Sproxy.Application.Access
        Sproxy.Application.Cookie
        Sproxy.Application.OAuth2
        Sproxy.Application.OAuth2.Common
        Sproxy.Application.OAuth2.Google
        Sproxy.Application.OAuth2.LinkedIn
        Sproxy.Application.OAuth2.Yandex
        Sproxy.Application.State
        Sproxy.Config
        Sproxy.Logging
        Sproxy.Server
        Sproxy.Server.DB
        Sproxy.Server.DB.DataFile
    default-language: Haskell2010
    ghc-options: -Wall -static -threaded
    build-depends:
        base >=4.8 && <50,
        aeson -any,
        base64-bytestring -any,
        blaze-builder -any,
        bytestring -any,
        cereal -any,
        conduit -any,
        cookie >=0.4.2,
        docopt -any,
        entropy -any,
        Glob -any,
        http-client >=0.5.3,
        http-conduit -any,
        http-types -any,
        interpolatedstring-perl6 -any,
        network -any,
        postgresql-simple -any,
        resource-pool -any,
        SHA -any,
        sqlite-simple -any,
        text -any,
        time -any,
        unix -any,
        unordered-containers -any,
        wai -any,
        wai-conduit -any,
        warp -any,
        warp-tls >=3.2,
        word8 -any,
        yaml >=0.8.4