arion/arion-compose.cabal

79 lines
2.2 KiB
Text
Raw Normal View History

2019-06-15 22:07:20 +02:00
cabal-version: 2.4
2019-06-14 16:10:37 +02:00
name: arion-compose
version: 0.1.0.0
synopsis: Run docker-compose with help from Nix/NixOS
-- description:
homepage: https://github.com/hercules-ci/arion#readme
-- bug-reports:
license: Apache-2.0
license-file: LICENSE
author: Robert Hensing
maintainer: robert@hercules-ci.com
-- copyright:
-- category:
extra-source-files: CHANGELOG.md, README.asciidoc
write-ghc-enviroment-files:
never
2019-06-15 22:07:20 +02:00
data-files: nix/*.nix
, nix/modules/composition/*.nix
, nix/modules/nixos/*.nix
, nix/modules/service/*.nix
2019-06-23 21:27:13 +02:00
, arion-image/Dockerfile
2019-06-15 22:07:20 +02:00
-- all data is verbatim from some sources
data-dir: src
2019-06-14 16:10:37 +02:00
common deps
build-depends: base ^>=4.12.0.0
, aeson
2019-07-29 13:49:26 +02:00
, aeson-pretty
2019-06-23 21:27:13 +02:00
, async
, bytestring
2019-09-27 21:01:57 +02:00
, directory
2019-06-23 21:27:13 +02:00
, process
, process-extras
2019-09-27 21:01:57 +02:00
, temporary
2019-06-15 12:35:48 +02:00
, text
2019-06-14 16:10:37 +02:00
, protolude
2019-07-29 13:46:49 +02:00
flag ghci
default: False
manual: True
2019-06-14 16:10:37 +02:00
library
import: deps
2019-06-23 21:27:13 +02:00
exposed-modules: Arion.Nix
2019-07-29 13:49:26 +02:00
Arion.Aeson
2019-09-27 21:01:57 +02:00
Arion.DockerCompose
2019-06-23 21:27:13 +02:00
other-modules: Paths_arion_compose
2019-06-14 16:10:37 +02:00
-- other-extensions:
hs-source-dirs: src/haskell/lib
default-language: Haskell2010
executable arion
import: deps
main-is: Main.hs
-- other-modules:
-- other-extensions:
build-depends: optparse-applicative
2019-06-23 21:27:13 +02:00
, arion-compose
2019-06-14 16:10:37 +02:00
hs-source-dirs: src/haskell/exe
default-language: Haskell2010
test-suite arion-unit-tests
import: deps
2019-07-29 13:46:49 +02:00
if flag(ghci)
hs-source-dirs: src/haskell/lib
ghc-options: -Wno-missing-home-modules
2019-06-14 16:10:37 +02:00
type: exitcode-stdio-1.0
2019-06-15 22:07:20 +02:00
main-is: TestMain.hs
2019-07-29 13:49:26 +02:00
other-modules: Spec
, Arion.NixSpec
2019-06-14 16:10:37 +02:00
-- other-extensions:
build-depends: arion-compose
, hspec
, QuickCheck
hs-source-dirs: src/haskell/test
default-language: Haskell2010