cabal-version: 2.2

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
--
-- hash: 6778c17aab195efecb532625c1155500d873a35ed7db9bd27fe86cb841a65bd4

name:           nixpkgs-update
version:        0.3.0
synopsis:       Tool for semi-automatic updating of nixpkgs repository
description:    nixpkgs-update provides tools for updating of nixpkgs packages in a semi-automatic way. Mainly, it is used to run the GitHub bot @r-ryantm, but the underlying update mechanisms should be generally useful and in a later version should be exposed as a command-line tool.
category:       Web
homepage:       https://github.com/ryantm/nixpkgs-update#readme
bug-reports:    https://github.com/ryantm/nixpkgs-update/issues
author:         Ryan Mulligan et al.
maintainer:     ryan@ryantm.com
copyright:      2018-2020 Ryan Mulligan et al.
license:        CC0-1.0
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/ryantm/nixpkgs-update

library
  exposed-modules:
      Check
      CVE
      Data.Hex
      DeleteMerged
      File
      GH
      Git
      Nix
      NixpkgsReview
      NVD
      NVDRules
      OurPrelude
      Outpaths
      Process
      Repology
      Rewrite
      Skiplist
      Time
      Update
      Utils
      Version
  hs-source-dirs:
      src
  default-extensions:
      DataKinds
      FlexibleContexts
      GADTs
      LambdaCase
      PolyKinds
      RankNTypes
      ScopedTypeVariables
      TypeApplications
      TypeFamilies
      TypeOperators
      BlockArguments
  ghc-options: -Wall -O2 -flate-specialise -fspecialise-aggressively -fplugin=Polysemy.Plugin
  build-depends:
      aeson
    , base >=4.13 && <5
    , bytestring
    , conduit
    , containers
    , cryptohash-sha256
    , directory
    , errors
    , filepath
    , github
    , http-client
    , http-client-tls
    , http-conduit
    , http-types
    , iso8601-time
    , lifted-base
    , mtl
    , neat-interpolation
    , optparse-applicative
    , parsec
    , parsers
    , partial-order
    , polysemy
    , polysemy-plugin
    , regex-applicative-text
    , servant
    , servant-client
    , sqlite-simple
    , template-haskell
    , temporary
    , text
    , th-env
    , time
    , transformers
    , typed-process
    , unix
    , unordered-containers
    , vector
    , versions
    , xdg-basedir
    , zlib
  default-language: Haskell2010

executable nixpkgs-update
  main-is: Main.hs
  hs-source-dirs:
      app
  default-extensions:
      DataKinds
      FlexibleContexts
      GADTs
      LambdaCase
      PolyKinds
      RankNTypes
      ScopedTypeVariables
      TypeApplications
      TypeFamilies
      TypeOperators
      BlockArguments
  ghc-options: -Wall -O2 -flate-specialise -fspecialise-aggressively -fplugin=Polysemy.Plugin
  build-depends:
      aeson
    , base >=4.13 && <5
    , bytestring
    , conduit
    , containers
    , cryptohash-sha256
    , directory
    , errors
    , filepath
    , github
    , http-client
    , http-client-tls
    , http-conduit
    , http-types
    , iso8601-time
    , lifted-base
    , mtl
    , neat-interpolation
    , nixpkgs-update
    , optparse-applicative
    , parsec
    , parsers
    , partial-order
    , polysemy
    , polysemy-plugin
    , regex-applicative-text
    , servant
    , servant-client
    , sqlite-simple
    , template-haskell
    , temporary
    , text
    , th-env
    , time
    , transformers
    , typed-process
    , unix
    , unordered-containers
    , vector
    , versions
    , xdg-basedir
    , zlib
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      CheckSpec
      DoctestSpec
      RewriteSpec
      UpdateSpec
      UtilsSpec
  hs-source-dirs:
      test
  default-extensions:
      DataKinds
      FlexibleContexts
      GADTs
      LambdaCase
      PolyKinds
      RankNTypes
      ScopedTypeVariables
      TypeApplications
      TypeFamilies
      TypeOperators
      BlockArguments
  ghc-options: -Wall -O2 -flate-specialise -fspecialise-aggressively -fplugin=Polysemy.Plugin
  build-depends:
      aeson
    , base >=4.13 && <5
    , bytestring
    , conduit
    , containers
    , cryptohash-sha256
    , directory
    , doctest
    , errors
    , filepath
    , github
    , hspec
    , hspec-discover
    , http-client
    , http-client-tls
    , http-conduit
    , http-types
    , iso8601-time
    , lifted-base
    , mtl
    , neat-interpolation
    , nixpkgs-update
    , optparse-applicative
    , parsec
    , parsers
    , partial-order
    , polysemy
    , polysemy-plugin
    , regex-applicative-text
    , servant
    , servant-client
    , sqlite-simple
    , template-haskell
    , temporary
    , text
    , th-env
    , time
    , transformers
    , typed-process
    , unix
    , unordered-containers
    , vector
    , versions
    , xdg-basedir
    , zlib
  default-language: Haskell2010