packages feed

photoname-5.0: photoname.cabal

cabal-version: 1.12

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

name:           photoname
version:        5.0
synopsis:       Rename photo image files based on EXIF shoot date
description:    Command-line utility for renaming/moving photo image files based on EXIF tags.
category:       Application, Console
stability:      stable
homepage:       http://hub.darcs.net/dino/photoname
bug-reports:    https://github.com/dino-/photoname/issues
author:         Dino Morelli
maintainer:     Dino Morelli <dino@ui3.info>
copyright:      2007-2021 Dino Morelli
license:        ISC
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC >= 8.2.2
extra-source-files:
    changelog.md
    doc/hcar-photoname.tex
    .gitignore
    hsinstall/share/applications/photoname.desktop
    hsinstall/share/icons/hicolor/scalable/apps/photoname.svg
    package.yaml
    README.md
    stack.yaml
    stack.yaml.lock
    util/resources/test/dateTime.jpg
    util/resources/test/dateTimeDigitized.jpg
    util/resources/test/dateTimeOriginal.jpg
    util/resources/test/foobar-2021-10-04-17-29-49-942.jpg
    util/resources/test/noDate.jpg
    util/resources/test/noExif.jpg
    util/resources/test/notAnImage.txt
    util/resources/test/test.conf

source-repository head
  type: git
  location: https://github.com/dino-/photoname

library
  exposed-modules:
      Photoname.Common
      Photoname.CopyLink
      Photoname.Date
      Photoname.Exif
      Photoname.Exiv2
      Photoname.Log
  other-modules:
      Paths_photoname
  hs-source-dirs:
      src/lib
  ghc-options: -fwarn-tabs -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
      base >=4.5 && <5.0
    , containers
    , directory
    , filepath
    , hsexif
    , hslogger
    , mtl
    , newtype-generics
    , parsec
    , process
    , time
    , unix
  default-language: Haskell2010

executable photoname
  main-is: photoname.hs
  other-modules:
      Photoname.Opts
      Paths_photoname
  hs-source-dirs:
      src/app
  ghc-options: -fwarn-tabs -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
      ansi-wl-pprint
    , base >=4.5 && <5.0
    , directory
    , filepath
    , heredoc
    , hslogger
    , newtype-generics
    , optparse-applicative
    , photoname
    , unix
  default-language: Haskell2010

test-suite photoname-tests
  type: exitcode-stdio-1.0
  main-is: runtests.hs
  other-modules:
      Test.Photoname.Date
      TestLink
      Util
      Paths_photoname
  hs-source-dirs:
      src/tests
  ghc-options: -fwarn-tabs -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
      base >=4.5 && <5.0
    , directory
    , filepath
    , photoname
    , process
    , regex-posix
    , tasty
    , tasty-hunit
    , tasty-quickcheck
    , time
    , unix
  default-language: Haskell2010