arion/arion-compose.cabal

85 lines
2.8 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
2020-03-19 12:27:07 +01:00
version: 0.1.1.0
2019-06-14 16:10:37 +02:00
synopsis: Run docker-compose with help from Nix/NixOS
description: Arion is a tool for building and running applications that consist of multiple docker containers using NixOS modules. It has special support for docker images that are built with Nix, for a smooth development experience and improved performance.
2019-06-14 16:10:37 +02:00
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: Distribution, Network, Cloud, Distributed Computing
extra-source-files: CHANGELOG.md, README.asciidoc,
src/haskell/testdata/**/*.nix
src/haskell/testdata/**/*.json
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-10-03 21:30:14 +02:00
, nix/modules/lib/*.nix
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 common
build-depends: base >=4.12.0.0 && <4.14
2019-06-14 16:10:37 +02:00
, 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
, lens
, lens-aeson
2019-06-23 21:27:13 +02:00
, process
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-09-28 00:51:16 +02:00
, unix
ghc-options: -Wall
2019-06-14 16:10:37 +02:00
2019-07-29 13:46:49 +02:00
flag ghci
default: False
manual: True
2019-06-14 16:10:37 +02:00
library
import: common
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
Arion.Images
2019-09-28 14:24:23 +02:00
Arion.Services
2019-06-23 21:27:13 +02:00
other-modules: Paths_arion_compose
autogen-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: common
2019-06-14 16:10:37 +02:00
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: common
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