75 lines
2.1 KiB
Text
75 lines
2.1 KiB
Text
cabal-version: 2.4
|
|
|
|
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
|
|
data-files: nix/*.nix
|
|
, nix/modules/composition/*.nix
|
|
, nix/modules/nixos/*.nix
|
|
, nix/modules/service/*.nix
|
|
, arion-image/Dockerfile
|
|
|
|
-- all data is verbatim from some sources
|
|
data-dir: src
|
|
|
|
common deps
|
|
build-depends: base ^>=4.12.0.0
|
|
, aeson
|
|
, aeson-pretty
|
|
, async
|
|
, bytestring
|
|
, process
|
|
, process-extras
|
|
, text
|
|
, protolude
|
|
|
|
flag ghci
|
|
default: False
|
|
manual: True
|
|
|
|
library
|
|
import: deps
|
|
exposed-modules: Arion.Nix
|
|
Arion.Aeson
|
|
other-modules: Paths_arion_compose
|
|
-- 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
|
|
, arion-compose
|
|
hs-source-dirs: src/haskell/exe
|
|
default-language: Haskell2010
|
|
|
|
test-suite arion-unit-tests
|
|
import: deps
|
|
if flag(ghci)
|
|
hs-source-dirs: src/haskell/lib
|
|
ghc-options: -Wno-missing-home-modules
|
|
type: exitcode-stdio-1.0
|
|
main-is: TestMain.hs
|
|
other-modules: Spec
|
|
, Arion.NixSpec
|
|
-- other-extensions:
|
|
build-depends: arion-compose
|
|
, hspec
|
|
, QuickCheck
|
|
hs-source-dirs: src/haskell/test
|
|
default-language: Haskell2010
|