packages feed

circuit-notation-0.1.0.0: circuit-notation.cabal

-- cabal-version: 2.2
name:                circuit-notation
version:             0.1.0.0
synopsis:            A source plugin for manipulating circuits in clash with a arrow notation
-- description:
license:             BSD3
license-file:        LICENSE
author:              Christopher Chalmers
maintainer:          c.chalmers@me.com
copyright:           2024 Christopher Chalmers
category:            Hardware
build-type:          Simple
cabal-version:       >=1.10

library
  exposed-modules:     CircuitNotation Circuit

  if impl(ghc < 9.2)
    other-modules:
      GHC.Types.Unique.Map

  if impl(ghc < 9.10)
    other-modules:
      GHC.Types.Unique.Map.Extra

  -- other-extensions:
  build-depends:
      base >=4.12 && <5
    , clash-prelude >= 1.0
    , containers
    , data-default
    , ghc (>=8.6 && <8.8) || (>=8.10 && < 9.10)
    , lens
    , mtl
    , parsec
    , pretty
    , pretty-show
    , syb
    , template-haskell
    , unordered-containers
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

Test-Suite library-testsuite
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  main-is:          unittests.hs
  other-modules:    Example
  hs-source-dirs:   tests, example
  build-depends:    base, circuit-notation, clash-prelude >= 1.0