packages feed

hakyll-contrib-i18n-0.1.0.0: hakyll-contrib-i18n.cabal

cabal-version:      >=1.10
name:               hakyll-contrib-i18n
version:            0.1.0.0
license:            OtherLicense
license-file:       LICENSE
copyright:
    Copyright © 2020 Pablo COVES <pablo.coves@protonmail.com>
    This work is free. You can redistribute it and/or modify it under the
    terms of the Do What The Fuck You Want To Public License, Version 2,
    as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.

maintainer:         pablo.coves@protonmail.com
author:             Pablo COVES
bug-reports:        https://gitlab.com/pcoves/hakyll-contrib-i18n/-/issues
synopsis:           A Hakyll library for internationalization.
description:
    A companion library for Hakyll that helps with internationalization.
    This library defines a custom compiler for translations stored in Yaml files.
    Once loaded, one can implicitly use them to translate strings in the template files.

category:           Web, Hakyll, I18n
build-type:         Simple
data-files:
    data/assets/images/haskell-logo.png
    data/css/default.css
    data/css/syntax.css
    data/en/about.rst
    data/en/index.md
    data/en/posts/category01/article01.md
    data/en/posts/category01/article02.md
    data/en/posts/category01/article03.md
    data/en/posts/category02/article04.md
    data/en/posts/category02/article05.md
    data/en/translation.yml
    data/fr/a_propos.md
    data/fr/index.md
    data/fr/posts/category01/article01.md
    data/fr/posts/category01/article02.md
    data/fr/posts/category02/article03.md
    data/fr/posts/category02/article04.md
    data/fr/posts/category03/article05.md
    data/fr/translation.yml
    data/templates/archive.html
    data/templates/category.html
    data/templates/contact.html
    data/templates/default.html
    data/templates/footer.html
    data/templates/header.html
    data/templates/main.html
    data/templates/post.html
    data/templates/post-list.html
    data/templates/sitemap.xml
    data/templates/switch.html
    data/templates/tag.html
    data/templates/translation.yml

extra-source-files: CHANGELOG.md

source-repository head
    type:     git
    location: https://gitlab.com/pcoves/hakyll-contrib-i18n

library
    exposed-modules:  Hakyll.Contrib.I18n
    hs-source-dirs:   src
    default-language: Haskell2010
    build-depends:
        base ==4.*,
        binary-instances >=1.0.1 && <1.1,
        bytestring >=0.10.10.1 && <0.11,
        filepath >=1.4.2.1 && <1.5,
        hakyll >=4.13.4.0 && <4.14,
        text >=1.2.4.0 && <1.3,
        time >=1.9.3 && <1.10,
        time-locale-compat >=0.1.1.5 && <0.2,
        unordered-containers >=0.2.10.0 && <0.3,
        yaml >=0.11.5.0 && <0.12

executable haki18nll
    main-is:          Main.hs
    hs-source-dirs:   haki18nll
    default-language: Haskell2010
    ghc-options:      -threaded
    build-depends:
        base ==4.*,
        hakyll ==4.13.*,
        hakyll-contrib-i18n -any,
        filepath >=1.4.2.1 && <1.5,
        pandoc >=2.9.2.1 && <2.10,
        pandoc-types ==1.20.*,
        pandoc-include-code >=1.5.0.0 && <1.6,
        unordered-containers >=0.2.10.0 && <0.3