packages feed

hakyll-images 1.0.0 → 1.0.1

raw patch · 3 files changed

+154/−109 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Hakyll.Images: imageMetadata :: Item Image -> Compiler Metadatas
- Hakyll.Images: metadata :: Image -> Metadatas
+ Hakyll.Images.Metadata: imageMetadata :: Item Image -> Compiler Metadatas
+ Hakyll.Images.Metadata: metadata :: Image -> Metadatas

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Change log
 
+## Release 1.0.1
+
+* The module `Hakyll.Images.Metadata` is now exposed (#5).
+
 ## Release 1.0.0
 
 * Updated dependency bounds.
hakyll-images.cabal view
@@ -1,87 +1,81 @@-cabal-version: 2.2---- This file has been generated from package.yaml by hpack version 0.33.0.------ see: https://github.com/sol/hpack------ hash: 545c4d291679bf352c162203073efbd820aec74046f6c1c84fb65ae5ff5e18f8--name:           hakyll-images-version:        1.0.0-synopsis:       Hakyll utilities to work with images-description:    hakyll-images is an add-on to the hakyll package. It adds utilities to work with images, including JPEG compression.-category:       Web-homepage:       https://github.com/LaurentRDC/hakyll-images#readme-bug-reports:    https://github.com/LaurentRDC/hakyll-images/issues-author:         Laurent P. René de Cotret-maintainer:     Laurent P. René de Cotret-license:        BSD-3-Clause-license-file:   LICENSE.md-build-type:     Simple-extra-source-files:-    CHANGELOG.md-    LICENSE.md-    README.md-    stack.yaml-data-files:-    tests/data/piccolo.jpg--source-repository head-  type: git-  location: https://github.com/LaurentRDC/hakyll-images--library-  exposed-modules:-      Hakyll.Images-      Hakyll.Images.CompressJpg-      Hakyll.Images.Resize-  other-modules:-      Hakyll.Images.Common-      Hakyll.Images.Metadata-      Paths_hakyll_images-  autogen-modules:-      Paths_hakyll_images-  hs-source-dirs:-      library-  ghc-options: -Wall -Wcompat-  build-depends:-      JuicyPixels >=3 && <4-    , JuicyPixels-extra >0.3 && <1-    , base >=4.8 && <5-    , binary >=0.5 && <1-    , bytestring >=0.9 && <1-    , hakyll >4-  default-language: Haskell2010--test-suite spec-  type: exitcode-stdio-1.0-  main-is: TestSuite.hs-  other-modules:-      Hakyll.Images.Common.Tests-      Hakyll.Images.CompressJpg.Tests-      Hakyll.Images.Metadata.Tests-      Hakyll.Images.Resize.Tests-      Hakyll.Images-      Hakyll.Images.Common-      Hakyll.Images.CompressJpg-      Hakyll.Images.Metadata-      Hakyll.Images.Resize-      Paths_hakyll_images-  hs-source-dirs:-      tests-      library-  ghc-options: -Wall -Wcompat-  build-depends:-      HUnit-approx >=1 && <2-    , JuicyPixels >=3 && <4-    , JuicyPixels-extra >0.3 && <1-    , base >=4.8 && <5-    , binary >=0.5 && <1-    , bytestring >=0.9 && <1-    , directory >=1 && <2-    , filepath >=1 && <2-    , hakyll >4-    , hakyll-images-    , tasty >=0.11 && <2-    , tasty-hunit >=0.9 && <1-  default-language: Haskell2010+cabal-version: 2.2
+
+name:           hakyll-images
+version:        1.0.1
+synopsis:       Hakyll utilities to work with images
+description:    hakyll-images is an add-on to the hakyll package. It adds utilities to work with images, including JPEG compression.
+category:       Web
+homepage:       https://github.com/LaurentRDC/hakyll-images#readme
+bug-reports:    https://github.com/LaurentRDC/hakyll-images/issues
+author:         Laurent P. René de Cotret
+maintainer:     Laurent P. René de Cotret
+license:        BSD-3-Clause
+license-file:   LICENSE.md
+build-type:     Simple
+extra-source-files:
+    CHANGELOG.md
+    LICENSE.md
+    README.md
+    stack.yaml
+data-files:
+    tests/data/piccolo.jpg
+
+source-repository head
+  type: git
+  location: https://github.com/LaurentRDC/hakyll-images
+
+library
+  exposed-modules:
+      Hakyll.Images
+      Hakyll.Images.CompressJpg
+      Hakyll.Images.Resize
+      Hakyll.Images.Metadata
+  other-modules:
+      Hakyll.Images.Common
+      Paths_hakyll_images
+  autogen-modules:
+      Paths_hakyll_images
+  hs-source-dirs:
+      library
+  ghc-options: -Wall -Wcompat
+  build-depends:
+      JuicyPixels >=3 && <4
+    , JuicyPixels-extra >0.3 && <1
+    , base >=4.8 && <5
+    , binary >=0.5 && <1
+    , bytestring >=0.9 && <1
+    , hakyll >4
+  default-language: Haskell2010
+
+test-suite spec
+  type: exitcode-stdio-1.0
+  main-is: TestSuite.hs
+  other-modules:
+      Hakyll.Images.Common.Tests
+      Hakyll.Images.CompressJpg.Tests
+      Hakyll.Images.Metadata.Tests
+      Hakyll.Images.Resize.Tests
+      Hakyll.Images
+      Hakyll.Images.Common
+      Hakyll.Images.CompressJpg
+      Hakyll.Images.Metadata
+      Hakyll.Images.Resize
+      Paths_hakyll_images
+  hs-source-dirs:
+      tests
+      library
+  ghc-options: -Wall -Wcompat
+  build-depends:
+      HUnit-approx >=1 && <2
+    , JuicyPixels >=3 && <4
+    , JuicyPixels-extra >0.3 && <1
+    , base >=4.8 && <5
+    , binary >=0.5 && <1
+    , bytestring >=0.9 && <1
+    , directory >=1 && <2
+    , filepath >=1 && <2
+    , hakyll >4
+    , hakyll-images
+    , tasty >=0.11 && <2
+    , tasty-hunit >=0.9 && <1
+  default-language: Haskell2010
stack.yaml view
@@ -1,31 +1,78 @@-resolver: nightly-2020-10-11 # GHC 8.10.2
+# This file was automatically generated by 'stack init'
+#
+# Some commonly used options have been documented as comments in this file.
+# For advanced use and comprehensive documentation of the format, please see:
+# https://docs.haskellstack.org/en/stable/yaml_configuration/
 
-packages:
-- .
+# Resolver to choose a 'specific' stackage snapshot or a compiler version.
+# A snapshot resolver dictates the compiler version and the set of packages
+# to be used for project dependencies. For example:
+#
+# resolver: lts-3.5
+# resolver: nightly-2015-09-21
+# resolver: ghc-7.10.2
+# resolver: ghcjs-0.1.0_ghc-7.10.2
+#
+# The location of a snapshot can be provided as a file or url. Stack assumes
+# a snapshot provided as a file might change, whereas a url resource does not.
+#
+# resolver: ./custom-snapshot.yaml
+# resolver: https://example.com/snapshots/2018-01-01.yaml
+resolver: nightly-2020-10-11 # GHC 8.10.2
 
 # GHC 8.10.2 is broken on Windows:
 #   https://gitlab.haskell.org/ghc/ghc/-/issues/18550
 compiler: ghc-8.10.1
 
+allow-newer: true
+
+# User packages to be built.
+# Various formats can be used as shown in the example below.
+#
+# packages:
+# - some-directory
+# - https://example.com/foo/bar/baz-0.0.2.tar.gz
+# - location:
+#    git: https://github.com/commercialhaskell/stack.git
+#    commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
+# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
+#  subdirs:
+#  - auto-update
+#  - wai
+packages:
+- .
+# Dependency packages to be pulled from upstream that are not in the resolver
+# using the same syntax as the packages field.
+# (e.g., acme-missiles-0.3)
 extra-deps:
-- pandoc-2.11.1
-- citeproc-0.1.0.3@sha256:c73f601fad72d6d74312ae55895e16e2425d86467a16d9a6d1156c6c78d04b62,5395   
-- commonmark-0.1.1@sha256:a928f6a36a7e10dceed252a9bb8670c01affbe89d70d81d4ba8530ff86b841a7,3276   
-- commonmark-extensions-0.2.0.2@sha256:0fa1527b702eb0b95813ad2eac9c480d4735959a0712edf9f583b76eb88d51df,3178
-- commonmark-pandoc-0.2.0.1@sha256:529c6e2c6cabf61558b66a28123eafc1d90d3324be29819f59f024e430312c1f,1105
 - hakyll-4.13.4.1@sha256:199fa0f7e6e98a1a1858852f8f6a3be2e0f1e4becbe6b9a64db47dac0740ddf2,8867
+- pandoc-2.11.2
+- citeproc-0.2@sha256:72a6b976a1d3ff2107043cfeb942e278ce2b93f0e31752da86bc6431b862ae19,5431
+- commonmark-0.1.1.2@sha256:c06ab05f0f224ab7982502a96e17952823a9b6dae8505fb35194b0baa9e2a975,3278
+- commonmark-extensions-0.2.0.4@sha256:6a437bcfa3c757af4262b71336513619990eafb5cfdc33e57a499c93ad225608,3184
+- commonmark-pandoc-0.2.0.1@sha256:529c6e2c6cabf61558b66a28123eafc1d90d3324be29819f59f024e430312c1f,1105
+- pandoc-citeproc-0.17.0.2@sha256:39c5c60a5eca2c1cb50ae9a00dc7093ca1baac78ad5be4e222505de257dce456,8737
 
-# For development
-- git: https://github.com/LaurentRDC/pandoc-include-code.git
-  commit: 13fb0ced5dd5669a300430fe89753f0c60f274dc
-- ghc-check-0.3.0.1@sha256:651d9b2b75a5cbdb3c942117801bfa566079bcaf20360e4d0959f9e575c30b39,1070
-  
-# Faster compilation.
-# See here: 
-#   https://downloads.haskell.org/ghc/latest/docs/html/users_guide/flags.html#miscellaneous-compiler-options
-# and here:
-#   https://ghc.gitlab.haskell.org/ghc/doc/users_guide/runtime_control.html
-# ghc-options:
-#   pandoc: -j "+RTS -A64m -RTS"
-#   pandoc-citeproc: -j "+RTS -A64m -RTS"
-#   $targets: -j "+RTS -A64m -RTS"
+# Override default flag values for local packages and extra-deps
+# flags: {}
+
+# Extra package databases containing global packages
+# extra-package-dbs: []
+
+# Control whether we use the GHC we find on the path
+# system-ghc: true
+#
+# Require a specific version of stack, using version ranges
+# require-stack-version: -any # Default
+# require-stack-version: ">=1.7"
+#
+# Override the architecture used by stack, especially useful on Windows
+# arch: i386
+# arch: x86_64
+#
+# Extra directories used by stack for building
+# extra-include-dirs: [/path/to/dir]
+# extra-lib-dirs: [/path/to/dir]
+#
+# Allow a newer minor version of GHC than the snapshot specifies
+# compiler-check: newer-minor