Add test cases that reproduce #7241.
[cabal.git] / cabal-dev-scripts / cabal-dev-scripts.cabal
blob900908acbd23563f8563b58c55431393f7668385
1 cabal-version: 2.2
2 name:          cabal-dev-scripts
3 version:       0
4 synopsis:      Dev scripts for cabal development
5 description:   This package provides a tools for Cabal development
6 homepage:      http://www.haskell.org/cabal/
7 license:       BSD-3-Clause
8 license-file:  LICENSE
9 author:        Cabal Development Team <cabal-devel@haskell.org>
10 category:      Distribution
11 build-type:    Simple
13 executable gen-spdx
14   default-language: Haskell2010
15   main-is:          GenSPDX.hs
16   other-modules:    GenUtils
17   hs-source-dirs:   src
18   ghc-options:      -Wall
19   build-depends:
20     , aeson                 ^>=1.4.1.0 || ^>=1.5.2.0 || ^>=2.2.1.0
21     , base                  >=4.10     && <4.20
22     , bytestring
23     , containers
24     , Diff                  ^>=0.4
25     , lens                  ^>=4.18.1 || ^>=4.19.1 || ^>=5.0.1 || ^>=5.2
26     , optparse-applicative  ^>=0.15.1.0 || ^>=0.16.0.0
27     , text
28     , zinza                 ^>=0.2
30 executable gen-spdx-exc
31   default-language: Haskell2010
32   main-is:          GenSPDXExc.hs
33   other-modules:    GenUtils
34   hs-source-dirs:   src
35   ghc-options:      -Wall
36   build-depends:
37     , aeson                 ^>=1.4.1.0 || ^>=1.5.2.0 || ^>=2.2.1.0
38     , base                  >=4.10     && <4.20
39     , bytestring
40     , containers
41     , Diff                  ^>=0.4
42     , lens                  ^>=4.18.1 || ^>=4.19.1 || ^>=5.0.1 || ^>=5.2
43     , optparse-applicative  ^>=0.15.1.0 || ^>=0.16.0.0
44     , text
45     , zinza                 ^>=0.2
47 executable gen-validate-dockerfile
48   default-language: Haskell2010
49   main-is:          GenValidateDockerfile.hs
50   hs-source-dirs:   src
51   ghc-options:      -Wall
52   build-depends:
53     , base
54     , bytestring
55     , containers
56     , HsYAML      ^>=0.2.1.0
57     , zinza       ^>=0.2
59 executable gen-cabal-macros
60   default-language: Haskell2010
61   main-is:          GenCabalMacros.hs
62   other-modules:    Capture
63   hs-source-dirs:   src
64   ghc-options:      -Wall
65   build-depends:
66     , base
67     , bytestring
68     , Cabal
69     , syb               ^>=0.7.1
70     , template-haskell
71     , zinza             ^>=0.2
73 executable gen-paths-module
74   default-language: Haskell2010
75   main-is:          GenPathsModule.hs
76   other-modules:    Capture
77   hs-source-dirs:   src
78   ghc-options:      -Wall
79   build-depends:
80     , base
81     , bytestring
82     , Cabal
83     , syb               ^>=0.7.1
84     , template-haskell
85     , zinza             ^>=0.2
87 executable gen-cabal-install-cabal
88   default-language: Haskell2010
89   main-is:          GenCabalInstallCabal.hs
90   hs-source-dirs:   src
91   ghc-options:      -Wall
92   build-depends:
93     , base
94     , bytestring
95     , Cabal
96     , zinza             ^>=0.2
98 executable analyse-imports
99   default-language: Haskell2010
100   main-is:          AnalyseImports.hs
101   hs-source-dirs:   src
102   ghc-options:      -Wall
103   build-depends:
104     , base
105     , containers
106     , regex-applicative
107     , haskell-lexer  ^>=1.1