dependency-1.1.0.0: dependency.cabal
cabal-version: 1.18
name: dependency
version: 1.1.0.0
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018 Vanessa McHale
maintainer: vamchale@gmail.com
author: Vanessa McHale
synopsis: Dependency resolution for package management
description:
A library for resolving dependencies; uses a topological sort to construct a build plan and then allows choice between all compatible plans.
category: Development, Build
build-type: Simple
extra-doc-files: README.md
source-repository head
type: darcs
location: https://hub.darcs.net/vmchale/ats
flag development
description:
Enable `-Werror`
default: False
manual: True
library
exposed-modules:
Data.Dependency
build-tools: cpphs -any
hs-source-dirs: src
other-modules:
Data.Dependency.Type
Data.Dependency.Error
Data.Dependency.Sort
default-language: Haskell2010
other-extensions: DeriveAnyClass DeriveGeneric OverloadedStrings
DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable
OverloadedStrings TemplateHaskell TypeFamilies TupleSections
ghc-options: -Wall
build-depends:
base >=4.8 && <5,
ansi-wl-pprint -any,
containers >=0.5.9,
micro-recursion-schemes -any,
microlens -any,
binary -any,
deepseq -any
if impl(ghc <8.0)
build-depends:
semigroups -any
if (flag(development) && impl(ghc <8.4))
ghc-options: -Werror
if impl(ghc >=8.0)
ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat
test-suite dependency-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
default-language: Haskell2010
other-extensions: TupleSections
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-depends:
base -any,
dependency -any,
hspec -any,
containers -any
if flag(development)
ghc-options: -Werror
if impl(ghc >=8.0)
ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat
benchmark dependency-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
default-language: Haskell2010
other-extensions: TupleSections
ghc-options: -Wall
build-depends:
base -any,
dependency -any,
containers -any,
criterion -any
if flag(development)
ghc-options: -Werror
if impl(ghc >=8.0)
ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat