packages feed

intel-powermon-0: intel-powermon.cabal

cabal-version:       2.2
name:                intel-powermon
version:             0
synopsis:            Poll modern Intel/AMD CPU power consumption on Linux via RAPL.
license:             AGPL-3.0-only
author:              Sergey Alirzaev
maintainer:          zl29ah@gmail.com
build-type:          Simple

Source-repository head
  type:              git
  location:          https://github.com/l29ah/intel-powermon.git

common stuff
  ghc-options:         -W -fno-warn-tabs -O2 -Werror=missing-fields -threaded -rtsopts "-with-rtsopts -N -qg"
  build-depends:       base >= 4.9 && < 5,
                       streaming ^>= 0.2.3.0,
                       unix ^>= 2.7.2.2,
                       posix-timer ^>= 0.3.0.1,
  default-language:    Haskell2010

executable intel-powermon
  import: stuff
  main-is:             intel-powermon.hs