packages feed

b9-0.2.3: b9.cabal

name:                b9
version:             0.2.3
synopsis:            A build tool and library for virtual machine images.
description:         Create, modify, use and share virtual machine images;
                     assemble and generate all associated files from templates.
                     All assembled files can be accessed by vm-build scripts as
                     shared directory in the build container, and/or
                     can be written to directories, ISO- or VFAT-images.
                     ISO/VFAT images are created so 'cloud-init' can recognize them.
                     VM-Build are executed in LXC containers managed through libvirt.
license:             MIT
license-file:        LICENSE
author:              Sven Heyll <svh@posteo.de>
maintainer:          svh@posteo.de
homepage:            https://github.com/sheyll/b9-vm-image-builder
bug-reports:         https://github.com/sheyll/b9-vm-image-builder/issues
copyright:           2015 Sven Heyll <svh@posteo.de>
category:            Development
build-type:          Simple
extra-source-files:  README.md, build_and_run.sh, build_and_test.sh, build_haddock.sh, installDeps.sh,
                     run.sh, LICENSE, TODO.org, Setup.hs, b9.cabal, .gitignore, prepare_release.sh, .travis.yml
cabal-version:       >=1.10

source-repository head
  type:                 git
  location:             git://github.com/sheyll/b9-vm-image-builder.git

library
  exposed-modules:   B9
                   , B9.B9Monad
                   , B9.B9Config
                   , B9.Builder
                   , B9.ConfigUtils
                   , B9.ExecEnv
                   , B9.DiskImages
                   , B9.DiskImageBuilder
                   , B9.ShellScript
                   , B9.PartitionTable
                   , B9.MBR
                   , B9.LibVirtLXC
                   , B9.Repository
                   , B9.RepositoryIO
                   , B9.ArtifactGenerator
                   , B9.ArtifactGeneratorImpl
                   , B9.Vm
                   , B9.VmBuilder
                   , B9.Content.ErlTerms
                   , B9.Content.ErlangPropList
                   , B9.Content.YamlObject
                   , B9.Content.AST
                   , B9.Content.Generator
                   , B9.Content.StringTemplate
                   , B9.QCUtil
  other-modules:   Paths_b9
  -- other-extensions:
  build-depends:     ConfigFile >= 1.1.3 && <1.2
                   , QuickCheck
                   , aeson
                   , async >=2.0.1 && <2.1
                   , base >=4.6 && <4.8
                   , binary >=0.7 && <0.8
                   , bytestring >=0.10 && <0.11
                   , conduit >=1.2 && <1.3
                   , conduit-extra >=1.1 && <1.2
                   , directory >=1.2 && <1.3
                   , filepath >=1.3 && <1.4
                   , mtl >=2.1 && <2.2
                   , old-locale >=1.0 && <1.1
                   , parsec >= 3.1.8
                   , pretty-show
                   , pretty
                   , process >=1.2 && <1.3
                   , random >=1.0 && <1.2
                   , semigroups
                   , syb >= 0.4.4 && <0.5
                   , template
                   , text >= 1.2.0.4
                   , time >=1.4 && <1.5
                   , transformers >=0.3 && <0.4
                   , unordered-containers
                   , vector >= 0.10.12.2
                   , yaml
                   , bifunctors
  default-extensions: TupleSections
                    , GeneralizedNewtypeDeriving
                    , DeriveDataTypeable
                    , RankNTypes
                    , FlexibleContexts
                    , GADTs
  hs-source-dirs:    src/lib
  default-language:  Haskell2010
  ghc-options:       -O3 -with-rtsopts=-N -Wall
                     -fwarn-unused-binds -fno-warn-unused-do-bind

executable b9c
  main-is:           Main.hs
  -- other-modules:
  -- other-extensions:
  build-depends:     b9
                   , base >=4.6 && <4.8
                   , bytestring >=0.10 && <0.11
                   , optparse-applicative >= 0.11.0.1
  hs-source-dirs:    src/cli
  default-language:  Haskell2010
  ghc-options:       -O3 -threaded -with-rtsopts=-N -Wall -Wall
                     -fwarn-unused-binds -fno-warn-unused-do-bind

test-suite spec
  type:              exitcode-stdio-1.0
  ghc-options:       -Wall
  hs-source-dirs:    src/tests
  default-language:  Haskell2010
  main-is:           Spec.hs
  other-modules:     B9.Content.ErlTermsSpec
                   , B9.Content.ErlangPropListSpec
                   , B9.Content.YamlObjectSpec
                   , B9.ArtifactGeneratorImplSpec
  build-depends:     base >=4.6 && <4.8
                   , b9
                   , hspec
                   , hspec-expectations
                   , QuickCheck
                   , aeson
                   , yaml
                   , vector
                   , unordered-containers
                   , bytestring
                   , text
                   , semigroups