-
Notifications
You must be signed in to change notification settings - Fork 11
/
podenv.cabal
125 lines (119 loc) · 4.18 KB
/
podenv.cabal
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
cabal-version: 3.0
name: podenv
version: 0.5.0
synopsis: A container wrapper
description:
Podenv provides a declarative interface to manage containerized applications.
.
Using rootless containers, podenv let you run applications seamlessly.
.
homepage: https://github.com/podenv/podenv#readme
bug-reports: https://github.com/podenv/podenv/issues
license: Apache-2.0
license-file: LICENSE
extra-doc-files: CHANGELOG.md
README.md
author: Tristan Cacqueray
maintainer: tdecacqu@redhat.com
copyright: 2021 Red Hat
category: Development
extra-source-files: test/*.dhall
test/*.txt
hub/*.dhall
hub/**/*.dhall
source-repository head
type: git
location: https://github.com/podenv/podenv.git
common common
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wno-missing-pattern-synonym-signatures
if impl(ghc >= 8.0)
ghc-options: -Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wpartial-fields
if impl(ghc >= 8.10)
ghc-options: -fhide-source-paths
-- Write hie file, for calligraphy and weeder analysis
-fwrite-ide-info
default-extensions:
-- Enable typed string literals
OverloadedStrings
-- Enable deriving lens from #label
, OverloadedLabels
-- Enable deriving newtype
, DerivingStrategies
-- Enable deriving Hashable
, DeriveAnyClass
-- Enable using term in types
, DataKinds
-- Shorter do block syntax for lucid
, BlockArguments
-- Shorter syntax for case expression:
, LambdaCase
-- Enable applying function in pattern match
, ViewPatterns
-- Enable [s| |] syntax for multilines string
, QuasiQuotes
-- Enable aligning import
, ImportQualifiedPost
-- For the new record dot syntax
, DuplicateRecordFields
-- , OverloadedRecordDot
-- default-language: GHC2021
default-language: Haskell2010
library
import: common
build-depends: base < 5
, SHA
, aeson
, containers
, dhall >= 1.39
, directory
, unix
, either
, filepath
, gitrev
, lens-family-core
, lens-family-th
, linux-capabilities >= 0.1.1.0
, optparse-applicative
, relude >= 0.7
, time
, text
, th-env
, typed-process
, unix
hs-source-dirs: src
exposed-modules: Podenv.Capability
, Podenv.Config
, Podenv.Context
, Podenv.Dhall
, Podenv.Env
, Podenv.Image
, Podenv.Main
, Podenv.Notifications
, Podenv.Prelude
, Podenv.Runtime
, Podenv.Version
, Podenv
other-modules: Paths_podenv
, Podenv.Dhall.TH
autogen-modules: Paths_podenv
executable podenv
import: common
hs-source-dirs: app
main-is: Main.hs
build-depends: base, podenv, with-utf8
ghc-options: -threaded -rtsopts -with-rtsopts=-N
test-suite tests
import: common
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base, hspec, podenv, text