packages feed

fontwhich-0.3: fontwhich.cabal

cabal-version:       2.2
name:                fontwhich
version:             0.3
synopsis:            Determine fonts used to render text
description:
        Fontwhich is a commandline tool that used pango to determine which
        default fonts would be used to render some text, or which font
        would be used for a particular language script.
license:             GPL-3.0-or-later
license-file:        COPYING
author:              Jens Petersen <juhpetersen@gmail.com>
maintainer:          Jens Petersen <juhpetersen@gmail.com>
copyright:           2026  Jens Petersen <juhpetersen@gmail.com>
category:            Utility
homepage:            https://github.com/juhp/fontwhich
bug-reports:         https://github.com/juhp/fontwhich/issues
build-type:          Simple
extra-doc-files:     README.md
                     ChangeLog.md
tested-with:         GHC == 9.2.8
                      || == 9.4.8
                      || == 9.6.7
                      || == 9.8.4
                      || == 9.10.3
                      || == 9.12.3

source-repository head
  type:                git
  location:            https://github.com/juhp/fontwhich.git

executable fontwhich
  main-is:             Main.hs
  other-modules:       Paths_fontwhich
  autogen-modules:     Paths_fontwhich
  hs-source-dirs:      src
  build-depends:       base < 5,
                       bytestring,
                       extra,
                       gi-pango,
                       gi-pangocairo,
                       simple-cmd,
                       simple-cmd-args,
                       text,
                       unicode-data-names,
                       unicode-data-scripts
  default-language:    Haskell2010
  ghc-options:         -Wall
  if impl(ghc >= 8.0)
    ghc-options:       -Wcompat
                       -Widentities
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wredundant-constraints
  if impl(ghc >= 8.2)
    ghc-options:       -fhide-source-paths
  if impl(ghc >= 8.4)
    ghc-options:       -Wmissing-export-lists
                       -Wpartial-fields
  if impl(ghc >= 8.10)
    ghc-options:       -Wunused-packages