2019-06-15 23:07:20 +03:00
|
|
|
cabal-version: 2.4
|
2019-06-14 17:10:37 +03: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 23:07:20 +03:00
|
|
|
data-files: nix/*.nix
|
|
|
|
, nix/modules/composition/*.nix
|
|
|
|
, nix/modules/nixos/*.nix
|
|
|
|
, nix/modules/service/*.nix
|
2019-10-03 22:30:14 +03:00
|
|
|
, nix/modules/lib/*.nix
|
2019-06-15 23:07:20 +03:00
|
|
|
|
|
|
|
-- all data is verbatim from some sources
|
|
|
|
data-dir: src
|
2019-06-14 17:10:37 +03:00
|
|
|
|
|
|
|
common deps
|
|
|
|
build-depends: base ^>=4.12.0.0
|
|
|
|
, aeson
|
2019-07-29 14:49:26 +03:00
|
|
|
, aeson-pretty
|
2019-06-23 22:27:13 +03:00
|
|
|
, async
|
|
|
|
, bytestring
|
2019-09-27 22:01:57 +03:00
|
|
|
, directory
|
2019-09-28 00:59:08 +03:00
|
|
|
, lens
|
|
|
|
, lens-aeson
|
2019-06-23 22:27:13 +03:00
|
|
|
, process
|
2019-09-27 22:01:57 +03:00
|
|
|
, temporary
|
2019-06-15 13:35:48 +03:00
|
|
|
, text
|
2019-06-14 17:10:37 +03:00
|
|
|
, protolude
|
2019-09-28 01:51:16 +03:00
|
|
|
, unix
|
2019-06-14 17:10:37 +03:00
|
|
|
|
2019-07-29 14:46:49 +03:00
|
|
|
flag ghci
|
|
|
|
default: False
|
|
|
|
manual: True
|
2019-06-14 17:10:37 +03:00
|
|
|
|
|
|
|
library
|
|
|
|
import: deps
|
2019-06-23 22:27:13 +03:00
|
|
|
exposed-modules: Arion.Nix
|
2019-07-29 14:49:26 +03:00
|
|
|
Arion.Aeson
|
2019-09-27 22:01:57 +03:00
|
|
|
Arion.DockerCompose
|
2019-09-28 00:59:08 +03:00
|
|
|
Arion.Images
|
2019-09-28 15:24:23 +03:00
|
|
|
Arion.Services
|
2019-06-23 22:27:13 +03:00
|
|
|
other-modules: Paths_arion_compose
|
2019-06-14 17:10:37 +03: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 22:27:13 +03:00
|
|
|
, arion-compose
|
2019-06-14 17:10:37 +03:00
|
|
|
hs-source-dirs: src/haskell/exe
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
test-suite arion-unit-tests
|
|
|
|
import: deps
|
2019-07-29 14:46:49 +03:00
|
|
|
if flag(ghci)
|
|
|
|
hs-source-dirs: src/haskell/lib
|
|
|
|
ghc-options: -Wno-missing-home-modules
|
2019-06-14 17:10:37 +03:00
|
|
|
type: exitcode-stdio-1.0
|
2019-06-15 23:07:20 +03:00
|
|
|
main-is: TestMain.hs
|
2019-07-29 14:49:26 +03:00
|
|
|
other-modules: Spec
|
|
|
|
, Arion.NixSpec
|
2019-06-14 17:10:37 +03:00
|
|
|
-- other-extensions:
|
|
|
|
build-depends: arion-compose
|
|
|
|
, hspec
|
|
|
|
, QuickCheck
|
|
|
|
hs-source-dirs: src/haskell/test
|
|
|
|
default-language: Haskell2010
|