packages feed

fits-parse-0.3.1: fits-parse.cabal

cabal-version:      1.12
name:               fits-parse
version:            0.3.1
license:            BSD2
license-file:       LICENSE
copyright:          Copyright (c) 2023 Zac Slade
maintainer:
    Zac Slade <krakrjak@gmail.com>,
    Sean Hess

author:             Zac Slade
homepage:           https://github.com/krakrjak/fits-parse#readme
synopsis:           Parse FITS files
description:        Parse and manipulate FITS data natively in Haskell
category:           Science
build-type:         Simple
extra-source-files:
    README.md
    docs/Makefile
    docs/make.bat
    docs/conf.py
    docs/index.rst
    docs/examples/omnibus.rst

flag examples
    description: Do you want to build the examples?
    default:     False
    manual:      True

library
    exposed-modules:
        Data.Fits
        Data.Fits.MegaParser
        Data.Fits.Read

    hs-source-dirs:   src
    other-modules:    Paths_fits_parse
    default-language: Haskell2010
    build-depends:
        base >=4.7 && <5,
        binary <0.9,
        bytestring <0.12,
        containers <0.7,
        megaparsec <9.4,
        microlens <0.5,
        microlens-th <0.5,
        text <2.1,
        text-latin1 <0.4

executable omnibus
    main-is:          Main.hs
    hs-source-dirs:   examples/omnibus
    other-modules:    Paths_fits_parse
    default-language: Haskell2010
    build-depends:
        JuicyPixels <3.4,
        base >=4.7 && <5,
        bytestring <0.12,
        fast-logger <3.3,
        fits-parse,
        microlens <0.5,
        microlens-th <0.5,
        optparse-applicative <0.18,
        statistics <0.17,
        vector <0.14

    if flag(examples)

test-suite fits-tests
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    other-modules:    Paths_fits_parse
    default-language: Haskell2010
    build-depends:
        base >=4.7 && <5,
        bytestring <0.12,
        containers <0.7,
        fits-parse,
        megaparsec <9.4,
        microlens <0.5,
        microlens-th <0.5,
        mtl <2.3,
        tasty <1.5,
        tasty-hunit <0.11,
        text <2.1