-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmagix.cabal
140 lines (125 loc) · 3.32 KB
/
magix.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
cabal-version: 3.4
name: magix
version: 0.2.0.0
synopsis:
Build, cache, and run possibly compiled scripts with dependencies using the Nix package manager
description:
Please see the README at <https://github.com/dschrempf/magix#readme>
category: Math, Statistics
homepage: https://github.com/dschrempf/magix#readme
bug-reports: https://github.com/dschrempf/magix/issues
author: Dominik Schrempf
maintainer: [email protected]
copyright: 2024 Dominik Schrempf
license: GPL-3.0-or-later
license-file: License.txt
build-type: Simple
extra-doc-files:
Changelog.org
Readme.org
extra-source-files:
data-files:
src/Magix/Languages/Bash/Template.nix
src/Magix/Languages/Haskell/Template.nix
src/Magix/Languages/Python/Template.nix
source-repository head
location: https://github.com/dschrempf/magix
type: git
common common
default-extensions:
DuplicateRecordFields
OverloadedRecordDot
OverloadedStrings
common lib
default-language: GHC2021
ghc-options: -Wall -Werror -Wunused-packages -Wredundant-constraints
common test
default-language: GHC2021
ghc-options: -Wall -Werror -Wunused-packages -Wredundant-constraints
common bench
default-language: GHC2021
ghc-options: -Wall -Werror -Wunused-packages -Wredundant-constraints
common exec
default-language: GHC2021
ghc-options: -Wall -Werror -Wunused-packages -Wredundant-constraints
library
import: common, lib
exposed-modules:
Magix
Magix.Build
Magix.Config
Magix.Directives
Magix.Directives.Common
Magix.Expression
Magix.Hash
Magix.Languages.Bash.Directives
Magix.Languages.Bash.Expression
Magix.Languages.Haskell.Directives
Magix.Languages.Haskell.Expression
Magix.Languages.Python.Directives
Magix.Languages.Python.Expression
Magix.NixpkgsPath
Magix.Options
Magix.Paths
Magix.Run
hs-source-dirs: src
other-modules: Paths_magix
autogen-modules: Paths_magix
ghc-options:
build-depends:
, base >=4.7 && <5
, bytestring
, cryptohash-sha256
, directory
, filelock
, filepath
, megaparsec
, optparse-applicative
, process
, text
, unix
, xdg-basedir
executable magix
import: common, exec
main-is: Main.hs
hs-source-dirs: app
other-modules:
autogen-modules:
ghc-options:
build-depends:
, base >=4.7 && <5
, bytestring
, hslogger
, magix
, text
test-suite test-magix
import: common, test
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Magix.BuildSpec
Magix.Directives.CommonSpec
Magix.DirectivesSpec
Magix.Languages.Bash.DirectivesSpec
Magix.Languages.Bash.ExpressionSpec
Magix.Languages.Haskell.DirectivesSpec
Magix.Languages.Haskell.ExpressionSpec
Magix.Languages.Python.DirectivesSpec
Magix.Languages.Python.ExpressionSpec
Magix.NixpkgsPathSpec
Magix.Tools
autogen-modules:
ghc-options:
type: exitcode-stdio-1.0
build-depends:
, base >=4.7 && <5
, bytestring
, directory
, filepath
, hspec
, magix
, megaparsec
, random
, text
, unix
build-tool-depends: hspec-discover:hspec-discover