packages feed

Cabal revisions of o-clock-1.2.1

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
--- SPDX-FileCopyrightText: 2020-2021 Serokell <https://serokell.io>------ SPDX-License-Identifier: MPL-2.0--name:                o-clock-version:             1.2.1-synopsis:            Type-safe time library.-description:         See README.md for details.-homepage:            https://github.com/serokell/o-clock-bug-reports:         https://github.com/serokell/o-clock/issues-license:             MPL-2.0-license-file:        LICENSE-author:              @serokell-maintainer:          Serokell <hi@serokell.io>-copyright:           2020 Serokell-category:            Time-build-type:          Simple-stability:           stable-extra-doc-files:     CHANGELOG.md-                   , README.md-                   , README.lhs-cabal-version:       2.0-tested-with:         GHC == 8.6.5-                   , GHC == 8.8.3-                   , GHC == 8.10.4--source-repository head-  type:     git-  location: https://github.com/serokell/o-clock--library-  hs-source-dirs:      src-  exposed-modules:     Time-                         Time.Rational-                         Time.Series-                         Time.Timestamp-                         Time.Units-  ghc-options:         -Wall-  build-depends:       base         >= 4.9  && < 5-                     , ghc-prim     >= 0.5 && < 0.7-  default-language:    Haskell2010-  default-extensions:  OverloadedStrings-                       RecordWildCards-                       ScopedTypeVariables-                       TypeApplications-                       TypeFamilies-  if flag(aeson)-    build-depends:     aeson    >= 1.2.4 && < 1.6-                     , text-    cpp-options:       -DHAS_aeson--executable play-o-clock-  main-is:             Playground.hs-  build-depends:       o-clock-                     , base     >= 4.9  && < 5-  hs-source-dirs:      examples-  default-language:    Haskell2010-  ghc-options:         -threaded -Wall-                       -fno-warn-orphans--test-suite o-clock-test-  type:                exitcode-stdio-1.0-  hs-source-dirs:      test-  main-is:             Spec.hs--  other-modules:       Test.Time.Property-                       Test.Time.Timestamp-                       Test.Time.TypeSpec-                       Test.Time.Units--  build-depends:       base            >= 4.9  && < 5-                     , o-clock-                     , hedgehog       >= 0.6 && < 1.1-                     , hspec-expectations ^>= 0.8-                     , tasty          >= 0.12 && < 1.5-                     , tasty-hedgehog >= 0.1 && < 1.2-                     , tasty-hunit-compat ^>= 0.2-                     , type-spec      >= 0.3.0.1 && < 0.5--  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N-  default-language:    Haskell2010-  default-extensions:  OverloadedStrings-                       RecordWildCards--test-suite o-clock-doctest-  if os(windows)-     buildable: False--  type:                exitcode-stdio-1.0-  hs-source-dirs:      test-  main-is:             Doctest.hs--  build-tool-depends:  doctest:doctest-  build-depends:       base    >= 4.10 && < 5-                     , doctest >= 0.16 && < 0.19-                     , Glob    >= 0.9 && < 0.11-  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N-  default-language:    Haskell2010--test-suite readme-test-  if os(windows)-     buildable: False--  type:                exitcode-stdio-1.0-  main-is:             README.lhs--  build-tool-depends:  markdown-unlit:markdown-unlit-  build-depends:       base            >= 4.10  && < 5-                     , o-clock-                     , markdown-unlit ^>= 0.5-  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N -pgmL markdown-unlit-  default-language:    Haskell2010--benchmark o-clock-benchmark-  type:                exitcode-stdio-1.0-  default-language:    Haskell2010-  ghc-options:         -Wall -O2 -threaded -rtsopts -with-rtsopts=-N-  hs-source-dirs:      benchmark-  main-is:             Main.hs-  build-depends:       base       >= 4.8   && < 5-                     , deepseq    >= 1.4-                     , o-clock-                     , gauge      >= 0.2.1 && < 1-                     , tiempo     >= 0.0.1.1-                     , time-units == 1.0.0-  if !flag(bench-buildable)-    buildable:         False--  default-extensions:  OverloadedStrings-                       RecordWildCards---- Flags--flag aeson-  description:         Provide instances for @aeson@-  default:             False--flag bench-buildable-  description:         Make benchmarks buildable-  default:             False+-- SPDX-FileCopyrightText: 2020-2021 Serokell <https://serokell.io>
+--
+-- SPDX-License-Identifier: MPL-2.0
+
+name:                o-clock
+version:             1.2.1
+x-revision: 1
+synopsis:            Type-safe time library.
+description:         See README.md for details.
+homepage:            https://github.com/serokell/o-clock
+bug-reports:         https://github.com/serokell/o-clock/issues
+license:             MPL-2.0
+license-file:        LICENSE
+author:              @serokell
+maintainer:          Serokell <hi@serokell.io>
+copyright:           2020 Serokell
+category:            Time
+build-type:          Simple
+stability:           stable
+extra-doc-files:     CHANGELOG.md
+                   , README.md
+                   , README.lhs
+cabal-version:       2.0
+tested-with:         GHC == 8.6.5
+                   , GHC == 8.8.3
+                   , GHC == 8.10.4
+
+source-repository head
+  type:     git
+  location: https://github.com/serokell/o-clock
+
+library
+  hs-source-dirs:      src
+  exposed-modules:     Time
+                         Time.Rational
+                         Time.Series
+                         Time.Timestamp
+                         Time.Units
+  ghc-options:         -Wall
+  build-depends:       base         >= 4.9  && < 5
+                     , ghc-prim     >= 0.5 && < 0.8
+  default-language:    Haskell2010
+  default-extensions:  OverloadedStrings
+                       RecordWildCards
+                       ScopedTypeVariables
+                       TypeApplications
+                       TypeFamilies
+  if flag(aeson)
+    build-depends:     aeson    >= 1.2.4 && < 1.6
+                     , text
+    cpp-options:       -DHAS_aeson
+
+executable play-o-clock
+  main-is:             Playground.hs
+  build-depends:       o-clock
+                     , base     >= 4.9  && < 5
+  hs-source-dirs:      examples
+  default-language:    Haskell2010
+  ghc-options:         -threaded -Wall
+                       -fno-warn-orphans
+
+test-suite o-clock-test
+  type:                exitcode-stdio-1.0
+  hs-source-dirs:      test
+  main-is:             Spec.hs
+
+  other-modules:       Test.Time.Property
+                       Test.Time.Timestamp
+                       Test.Time.TypeSpec
+                       Test.Time.Units
+
+  build-depends:       base            >= 4.9  && < 5
+                     , o-clock
+                     , hedgehog       >= 0.6 && < 1.1
+                     , hspec-expectations ^>= 0.8
+                     , tasty          >= 0.12 && < 1.5
+                     , tasty-hedgehog >= 0.1 && < 1.2
+                     , tasty-hunit-compat ^>= 0.2
+                     , type-spec      >= 0.3.0.1 && < 0.5
+
+  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
+  default-language:    Haskell2010
+  default-extensions:  OverloadedStrings
+                       RecordWildCards
+
+test-suite o-clock-doctest
+  if os(windows)
+     buildable: False
+
+  type:                exitcode-stdio-1.0
+  hs-source-dirs:      test
+  main-is:             Doctest.hs
+
+  build-tool-depends:  doctest:doctest
+  build-depends:       base    >= 4.10 && < 5
+                     , doctest >= 0.16 && < 0.19
+                     , Glob    >= 0.9 && < 0.11
+  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
+  default-language:    Haskell2010
+
+test-suite readme-test
+  if os(windows)
+     buildable: False
+
+  type:                exitcode-stdio-1.0
+  main-is:             README.lhs
+
+  build-tool-depends:  markdown-unlit:markdown-unlit
+  build-depends:       base            >= 4.10  && < 5
+                     , o-clock
+                     , markdown-unlit ^>= 0.5
+  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N -pgmL markdown-unlit
+  default-language:    Haskell2010
+
+benchmark o-clock-benchmark
+  type:                exitcode-stdio-1.0
+  default-language:    Haskell2010
+  ghc-options:         -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
+  hs-source-dirs:      benchmark
+  main-is:             Main.hs
+  build-depends:       base       >= 4.8   && < 5
+                     , deepseq    >= 1.4
+                     , o-clock
+                     , gauge      >= 0.2.1 && < 1
+                     , tiempo     >= 0.0.1.1
+                     , time-units == 1.0.0
+  if !flag(bench-buildable)
+    buildable:         False
+
+  default-extensions:  OverloadedStrings
+                       RecordWildCards
+
+-- Flags
+
+flag aeson
+  description:         Provide instances for @aeson@
+  default:             False
+
+flag bench-buildable
+  description:         Make benchmarks buildable
+  default:             False