packages feed

astro-0.4.2.0: astro.cabal

name:                astro
version:             0.4.2.0
synopsis:            Amateur astronomical computations
description:
    Amateur astronomical computations: rise and set times and azimuths,
    coordinates, distances, angular sizes and other parameters
    of the Sun, the Moon, planets and stars.

homepage:            https://github.com/alexander-ignatyev/astro
license:             BSD3
license-file:        LICENSE
author:              Alexander Ignatyev
maintainer:          Alexander Ignatyev
copyright:           2016-2017 Alexander Ignatyev
category:            Science
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10
extra-source-files:  README.md

library
  hs-source-dirs:      src
  exposed-modules:     Data.Astro.Time
                     , Data.Astro.Time.GregorianCalendar
                     , Data.Astro.Time.JulianDate
                     , Data.Astro.Time.Sidereal
                     , Data.Astro.Time.Epoch
                     , Data.Astro.Time.Conv
                     , Data.Astro.Coordinate
                     , Data.Astro.Types
                     , Data.Astro.Utils
                     , Data.Astro.CelestialObject
                     , Data.Astro.CelestialObject.RiseSet
                     , Data.Astro.Effects
                     , Data.Astro.Effects.Parallax
                     , Data.Astro.Star
                     , Data.Astro.Sun
                     , Data.Astro.Sun.SunInternals
                     , Data.Astro.Planet
                     , Data.Astro.Planet.PlanetDetails
                     , Data.Astro.Planet.PlanetMechanics
                     , Data.Astro.Moon
                     , Data.Astro.Moon.MoonDetails
  other-modules:       Data.Astro.Effects.Precession
                     , Data.Astro.Effects.Nutation
                     , Data.Astro.Effects.Aberration
  build-depends:       base >= 4.7 && < 5
                     , time
                     , matrix >= 0.3.4.4
  default-language:    Haskell2010

test-suite astro-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Main.hs
  other-modules:       Data.Astro.CelestialObject.RiseSetTest
                     , Data.Astro.CelestialObjectTest
                     , Data.Astro.CoordinateTest
                     , Data.Astro.Effects.ParallaxTest
                     , Data.Astro.EffectsTest
                     , Data.Astro.MoonTest
                     , Data.Astro.Planet.PlanetDetailsTest
                     , Data.Astro.Planet.PlanetMechanicsTest
                     , Data.Astro.Sun.SunInternalsTest
                     , Data.Astro.SunTest
                     , Data.Astro.Time.ConvTest
                     , Data.Astro.Time.GregorianCalendarTest
                     , Data.Astro.Time.JulianDateTest
                     , Data.Astro.Time.SiderealTest
                     , Data.Astro.TimeTest
                     , Data.Astro.TypesTest
                     , Data.Astro.UtilsTest
                     , Test.HUnit.Approx

  build-depends:       base
                     , astro
                     , time
                     , test-framework >= 0.8.1.1
                     , test-framework-hunit >= 0.3.0.2
                     , test-framework-quickcheck2 >= 0.3.0.3
                     , HUnit >= 1.3.1.1
                     , QuickCheck >= 2.8.2
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/alexander-ignatyev/astro