packages feed

svgsym-0.1.2.0: svgsym.cabal

cabal-version:   2.4
name:            svgsym
version:         0.1.2.0
synopsis:        A tool to prune unused symbols from icon SVG files.
description:
  This is a simple tool to prune unused symbols from icon SVG files.
  Specifically, this tools takes as input
  - an SVG file that consists only of `symbol` elements,
  - one of more glob patterns of source files, and
  - a regular expression that identifies symbol references.
  It then scans your source files for references to symbols in the SVG
  file. The output of the tool is an SVG file that contains only the
  symbols referenced in your source files.

homepage:        https://git.sr.ht/~rycee/svgsym
bug-reports:     https://lists.sr.ht/~rycee/public-inbox
license:         GPL-3.0-or-later
license-file:    LICENSE
author:          Robert Helgesson
maintainer:      robert@rycee.net
copyright:       © 2022–2024 Robert Helgesson
category:        Utility
extra-doc-files:
  CHANGELOG.md
  README.md

source-repository head
  type:     git
  location: https://git.sr.ht/~rycee/svgsym

executable svgsym
  main-is:          Main.hs
  autogen-modules:  Paths_svgsym
  other-modules:
    Paths_svgsym
    Svgsym.Options

  build-depends:
    , array                 ^>=0.5
    , base                  >=4      && <5
    , bytestring            >=0.10   && <0.13
    , containers            ^>=0.6
    , directory             ^>=1.3
    , filepath              ^>=1.4
    , filepattern           ^>=0.1.2
    , optparse-applicative  >=0.16   && <0.19
    , regex-base            ^>=0.94
    , regex-tdfa            ^>=1.3.1
    , xml                   ^>=1.3

  hs-source-dirs:   src-exe
  default-language: Haskell2010