name:          kicad-data
version:       0.1.0.0
synopsis:      Parser and writer for KiCad files.
license:       MIT
license-file:  LICENSE
author:        Kaspar Emanuel
maintainer:    kaspar.emanuel@gmail.com
homepage:      http://github.com/kasbah/haskell-kicad-data
bug-reports:   http://github.com/kasbah/haskell-kicad-data/issues
copyright:     2014
category:      Data
build-type:    Simple
-- extra-source-files:
cabal-version: >=1.10

source-repository head
  type: git
  location: git@github.com:kasbah/haskell-kicad-data

library
  ghc-options: -Wall
  exposed-modules:
      Data.Kicad.PcbnewExpr
    , Data.Kicad.PcbnewExpr.PcbnewExpr
    , Data.Kicad.PcbnewExpr.Parse
    , Data.Kicad.PcbnewExpr.Write
    , Data.Kicad.SExpr
    , Data.Kicad.SExpr.SExpr
    , Data.Kicad.SExpr.Parse
    , Data.Kicad.SExpr.Write
  -- other-modules:
  -- other-extensions:
  build-depends:
      base >=4.6 && <4.8
    , parsec >=3.1 && <3.2
    , parsec-numbers >= 0.1.0  && <0.2.0
    , lens-family >= 1.1 && <1.2
    , ieee754 >= 0.7.4 && <0.8
    , pretty-compact >= 1.0 && < 2
  -- hs-source-dirs:
  default-language:    Haskell2010

test-suite kicad-data-quickcheck
  type: exitcode-stdio-1.0
  x-uses-tf: true
  ghc-options: -Wall -fno-warn-unused-do-bind
  hs-source-dirs: tests
  default-language: Haskell2010
  main-is: Test.hs

  build-depends:
      base >= 4 && < 5
    , parsec >=3.1 && <3.2
    , parsec-numbers >= 0.1.0  && <0.2.0
    , lens-family >= 1.1 && <1.2
    , ieee754 >= 0.7.4 && <0.8
    , QuickCheck >= 2
    , test-framework >= 0.8 && < 1
    , test-framework-quickcheck2 >= 0.3 && < 1
    , pretty-compact >= 1.0 && < 2
    , kicad-data