arion/arion-compose.cabal

85 lines
2.8 KiB
Plaintext
Raw Normal View History

2019-06-15 23:07:20 +03:00
cabal-version: 2.4
2019-06-14 17:10:37 +03:00
name: arion-compose
2020-03-19 14:27:07 +03:00
version: 0.1.1.0
2019-06-14 17:10:37 +03: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 17:10:37 +03: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 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 common
build-depends: base >=4.12.0.0 && <4.14
2019-06-14 17:10:37 +03:00
, 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
, 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
2020-03-21 00:20:00 +03:00
, protolude >= 0.2
2019-09-28 01:51:16 +03:00
, unix
ghc-options: -Wall
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: common
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
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
autogen-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: common
2019-06-14 17:10:37 +03:00
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: common
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