packages feed

hsec-sync-0.1.0.0: hsec-sync.cabal

cabal-version:   2.4
name:            hsec-sync
version:         0.1.0.0

-- A short (one-line) description of the package.
synopsis:        Synchronize with the Haskell security advisory database

-- A longer description of the package.
description:     Synchronize with the Haskell security advisory database.

-- A URL where users can report bugs.
-- bug-reports:

-- The license under which the package is released.
license:         BSD-3-Clause
author:          Gautier DI FOLCO
maintainer:      gautier.difolco@gmail.com

-- A copyright notice.
-- copyright:
category:        Data
extra-doc-files: CHANGELOG.md
tested-with:
  GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.3 || ==9.8.1

library
  exposed-modules:  Security.Advisories.Sync
  other-modules:
    Security.Advisories.Sync.Atom
    Security.Advisories.Sync.Git

  build-depends:
    , base         >=4.14  && <4.20
    , directory    >=1.3   && <1.4
    , extra        >=1.7   && <1.8
    , feed         >=1.3   && <1.4
    , filepath     >=1.4   && <1.5
    , hsec-core    >= 1.0  && < 2.0
    , http-client  >=0.7.0 && <0.8
    , lens         >=5.1   && <5.3
    , process      >=1.6   && <1.7
    , text         >=1.2   && <3
    , time         >=1.9   && <1.14
    , transformers >=0.5   && <0.7
    , wreq         >=0.5   && <0.6

  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:
    -Wall -Wcompat -Widentities -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints

executable hsec-sync
  main-is:          Main.hs

  -- Modules included in this executable, other than Main.
  -- other-modules:

  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:
  build-depends:
    , aeson                 >=2.0.1.0 && <3
    , base                  >=4.14    && <4.20
    , bytestring            >=0.10    && <0.13
    , filepath              >=1.4     && <1.5
    , hsec-sync
    , optparse-applicative  >=0.17    && <0.19
    , text                  >=1.2     && <3

  hs-source-dirs:   app
  default-language: Haskell2010
  ghc-options:
    -Wall -Wcompat -Widentities -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints

test-suite spec
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Spec.hs
  other-modules:    Spec.SyncSpec
  build-depends:
    , base         <5
    , directory
    , hsec-sync
    , filepath
    , process
    , tasty        <1.5
    , tasty-hunit  <0.11
    , temporary    ==1.*
    , text
    , time

  default-language: Haskell2010
  ghc-options:
    -Wall -Wcompat -Widentities -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints