packages feed

pdfname-0.1.1: pdfname.cabal

name:          pdfname
version:       0.1.1
license:       MIT
license-file:  LICENSE
author:        Andrés Sicard-Ramírez with contributions by Juan Pedro Villa-Isaza.
maintainer:    Andrés Sicard-Ramírez <asr@eafit.edu.co>
copyright:     Andrés Sicard-Ramírez 2017
homepage:      https://github.com/asr/pdfname#readme
bug-reports:   https://github.com/asr/pdfname/issues
category:      PDF
build-type:    Simple
cabal-version: >= 1.10
synopsis:      Name a PDF file using information from the pdfinfo command
description:
  pdfname names a PDF file using the author, year of creation and
  title information extracted from the pdfinfo program.
tested-with:   GHC == 8.0.2

extra-source-files: CHANGELOG.md
                    README.md

executable pdfname
  main-is:        Main.hs
  hs-source-dirs: src

  build-depends:  base                 >= 4.9.1.0 && < 4.11
                , directory            >= 1.3.0.0 && < 1.4
                , filepath             >= 1.4.1.1 && < 1.5
                , optparse-applicative >= 0.14.0  && < 0.15
                , pdfinfo              >= 1.5.4   && < 1.6
                , text                 >= 1.2.2.2 && < 1.3

  default-language: Haskell2010

  default-extensions:  OverloadedStrings
                     , UnicodeSyntax

  other-modules:  CreateFile
                , Options
                , Paths_pdfname
                , Substituions
                , Utilities

  if impl(ghc >= 8.0)
    ghc-options:  -Wall
                  -Widentities
                  -Wincomplete-record-updates
                  -Wincomplete-uni-patterns
                  -Wderiving-typeable
                  -Wmissing-import-lists
                  -Wmissing-local-signatures
                  -Wmissing-monadfail-instances
                  -Wmissing-pattern-synonym-signatures
                  -Wmonomorphism-restriction
                  -Wnoncanonical-monad-instances
                  -Wnoncanonical-monadfail-instances
                  -Wnoncanonical-monoid-instances
                  -Wredundant-constraints
                  -Wsemigroup
                  -Wunused-binds
                  -Wunused-type-patterns

  if impl(ghc >= 8.2)
    ghc-options: -Wcpp-undef
                 -Wsimplifiable-class-constraints