packages feed

phino-0.0.0.2: phino.cabal

cabal-version:      3.0

name:               phino
version:            0.0.0.2
license:            MIT
synopsis:           Command-Line Manipulator of 𝜑-Calculus Expressions
description:        Please see the README on GitHub at <https://github.com/objectionary/phino#readme>
homepage:           https://github.com/objectionary/phino#readme
bug-reports:        https://github.com/objectionary/phino/issues
license-file:       LICENSES/MIT.txt
author:             maxonfjvipon
maintainer:         mtrunnikov@gmail.com
copyright:          2025 Objectionary.com
category:           Language, Code Analysis
build-type:         Simple

source-repository head
  type: git
  location: https://github.com/objectionary/phino

common warnings
  ghc-options: -Wall

library
  exposed-modules:
    CLI, Ast, Parser, Matcher, Builder, Replacer, Printer, Rewriter, Yaml, Misc
  hs-source-dirs: src
  other-modules:
    Paths_phino
  autogen-modules:
    Paths_phino
  build-depends:
    base ^>=4.18.3.0,
    containers,
    megaparsec >= 9.0,
    text,
    aeson,
    yaml,
    directory,
    filepath,
    scientific,
    binary-ieee754,
    bytestring,
    utf8-string,
    prettyprinter,
    optparse-applicative
  default-language: Haskell2010

-- Executable using the library
executable phino
  import:           warnings
  main-is:          Main.hs
  hs-source-dirs:   app
  build-depends:
    phino,
    base
  default-language: Haskell2010

-- Test suite for Matcher
test-suite spec
  import:           warnings
  type:             exitcode-stdio-1.0
  main-is:          Main.hs
  hs-source-dirs:   test
  other-modules:
    Spec,
    CLISpec,
    ParserSpec,
    MatcherSpec,
    BuilderSpec,
    ReplacerSpec,
    PrinterSpec,
    RewriterSpec,
    YamlSpec,
    Paths_phino
  autogen-modules:
    Paths_phino
  default-extensions:
    ImportQualifiedPost
  ghc-options: -Wall
  build-depends:
    optparse-applicative,
    base,
    megaparsec,
    phino,
    containers,
    hspec,
    hspec-core,
    filepath,
    prettyprinter,
    aeson,
    yaml,
    text,
    silently,
    directory
  build-tool-depends:
    hspec-discover:hspec-discover
  default-language: Haskell2010