packages feed

sofetch-otel-0.1.0.0: sofetch-otel.cabal

cabal-version: 2.2

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

name:           sofetch-otel
version:        0.1.0.0
description:    OpenTelemetry instrumentation for sofetch
category:       Data
homepage:       https://github.com/iand675/sofetch#readme
bug-reports:    https://github.com/iand675/sofetch/issues
author:         Ian Duncan
maintainer:     ian@iankduncan.com
copyright:      2026 Ian Duncan
license:        BSD-3-Clause
build-type:     Simple

source-repository head
  type: git
  location: https://github.com/iand675/sofetch

library
  exposed-modules:
      Fetch.OpenTelemetry
  other-modules:
      Paths_sofetch_otel
  autogen-modules:
      Paths_sofetch_otel
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , hs-opentelemetry-api
    , sofetch
  default-language: Haskell2010

test-suite sofetch-otel-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_sofetch_otel
  autogen-modules:
      Paths_sofetch_otel
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , hs-opentelemetry-api
    , hspec
    , sofetch
    , sofetch-otel
    , unordered-containers
  default-language: Haskell2010