time-1.7: time.cabal
name: time
version: 1.7
stability: stable
license: BSD3
license-file: LICENSE
author: Ashley Yakeley
maintainer: <ashley@semantic.org>
homepage: https://github.com/haskell/time
bug-reports: https://github.com/haskell/time/issues
synopsis: A time library
description: A time library
category: System
build-type: Configure
cabal-version: >=1.10
tested-with: GHC == 8.0.1, GHC == 7.10.3, GHC == 7.8.4
x-follows-version-policy:
extra-source-files:
changelog.md
aclocal.m4
configure.ac
configure
lib/include/HsConfigure.h
lib/include/HsTime.h
lib/include/HsTimeConfig.h.in
test/Test/*.c
test/Test/*.h
extra-tmp-files:
config.log
config.status
autom4te.cache
lib/include/HsTimeConfig.h
source-repository head
type: git
location: https://github.com/haskell/time
library
hs-source-dirs: lib
default-language: Haskell2010
if impl(ghc)
default-extensions:
Rank2Types
DeriveDataTypeable
StandaloneDeriving
cpp-options: -DLANGUAGE_Rank2Types -DLANGUAGE_DeriveDataTypeable -DLANGUAGE_StandaloneDeriving
else
if impl(hugs)
default-extensions: Rank2Types
cpp-options: -DLANGUAGE_Rank2Types
ghc-options: -Wall -fwarn-tabs
build-depends:
base >= 4.7 && < 5,
deepseq >= 1.1
if os(windows)
build-depends: Win32
exposed-modules:
Data.Time.Calendar,
Data.Time.Calendar.MonthDay,
Data.Time.Calendar.OrdinalDate,
Data.Time.Calendar.WeekDate,
Data.Time.Calendar.Julian,
Data.Time.Calendar.Easter,
Data.Time.Clock,
Data.Time.Clock.POSIX,
Data.Time.Clock.TAI,
Data.Time.LocalTime,
Data.Time.Format,
Data.Time
default-extensions: CPP
c-sources: lib/cbits/HsTime.c
other-modules:
Data.Time.Calendar.Private,
Data.Time.Calendar.Days,
Data.Time.Calendar.Gregorian,
Data.Time.Calendar.JulianYearDay,
Data.Time.Clock.Scale,
Data.Time.Clock.UTC,
Data.Time.Clock.CTimeval,
Data.Time.Clock.CTimespec,
Data.Time.Clock.UTCDiff,
Data.Time.LocalTime.TimeZone,
Data.Time.LocalTime.TimeOfDay,
Data.Time.LocalTime.LocalTime,
Data.Time.Format.Parse
Data.Time.Format.Locale
include-dirs: lib/include
if os(windows)
install-includes:
HsTime.h
else
install-includes:
HsTime.h
HsTimeConfig.h
test-suite ShowDefaultTZAbbreviations
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -Wall -fwarn-tabs
build-depends:
base,
time == 1.7
main-is: ShowDefaultTZAbbreviations.hs
test-suite tests
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
default-extensions:
Rank2Types
CPP
DeriveDataTypeable
StandaloneDeriving
ExistentialQuantification
MultiParamTypeClasses
FlexibleInstances
UndecidableInstances
ScopedTypeVariables
ghc-options: -Wall -fwarn-tabs
c-sources: test/Test/TestFormatStuff.c
build-depends:
base,
deepseq,
time == 1.7,
QuickCheck >= 2.5.1,
test-framework >= 0.8,
test-framework-quickcheck2 >= 0.3,
unix
main-is: Test.hs
other-modules:
Test.Tests
Test.TestTime
Test.TestTimeRef
Test.TestParseTime
Test.TestMonthDay
Test.TestMonthDayRef
Test.TestFormat
Test.TestEaster
Test.TestEasterRef
Test.TestCalendars
Test.TestCalendarsRef
Test.TestTAI
Test.TestTimeZone
Test.TestValid
Test.LongWeekYears
Test.LongWeekYearsRef
Test.ConvertBack
Test.ClipDates
Test.ClipDatesRef
Test.AddDays
Test.AddDaysRef
Test.TestUtil