packages feed

network-manager-tui-1.0.0.0: network-manager-tui.cabal

cabal-version: 2.0

-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 4d0b106c9382ece01037a64421ec68d5b80f23f6f3a6350fa2a276c1d448567d

name:           network-manager-tui
version:        1.0.0.0
synopsis:       network-manager tui
description:    Please see the README on GitHub at <https://github.com/andys8/network-manager-tui#readme>
category:       Tui
homepage:       https://github.com/andys8/network-manager-tui#readme
bug-reports:    https://github.com/andys8/network-manager-tui/issues
author:         andys8
maintainer:     andys8@users.noreply.github.com
copyright:      andys8
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/andys8/network-manager-tui

flag static
  manual: True
  default: False

library network-manager-tui-lib
  exposed-modules:
      Lib
      Theme
  other-modules:
      Paths_network_manager_tui
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=4.7 && <5
    , brick
    , microlens
    , process
    , split
    , vector
    , vty
  default-language: Haskell2010

executable nmt
  main-is: Main.hs
  other-modules:
      Paths_network_manager_tui
  autogen-modules:
      Paths_network_manager_tui
  hs-source-dirs:
      app
  build-depends:
      base >=4.7 && <5
    , brick
    , microlens
    , network-manager-tui-lib
    , process
    , split
    , vector
    , vty
  if flag(static)
    ghc-options: -static -threaded -rtsopts -with-rtsopts=-N
    cc-options: -static
    ld-options: -static -pthread
  else
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010

test-suite nmt-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_network_manager_tui
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , brick
    , hspec
    , microlens
    , network-manager-tui-lib
    , process
    , split
    , vector
    , vty
  default-language: Haskell2010