packages feed

ebml-0.1.1.0: ebml.cabal

cabal-version: 1.12

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

name:           ebml
version:        0.1.1.0
synopsis:       A pure EBML parser
description:    Pure decoder for the Extensible Binary Meta Language (EBML) format.
                .
                Use this library to parse mkv/webm file or split a webm stream segments.
                .
                Checkout a motivating use-case presented in this blog post: [Broadcasting a WebM stream using MSE](https://tristancacqueray.github.io/blog/broadcasting-webm).
                .
                Read the haskell-ebml demo app for simple usage: [Main.hs](https://github.com/TristanCacqueray/haskell-ebml/blob/main/app/Main.hs).
category:       Codec
homepage:       https://github.com/TristanCacqueray/haskell-ebml#readme
bug-reports:    https://github.com/TristanCacqueray/haskell-ebml/issues
author:         Tristan Cacqueray
maintainer:     tdecacqu@redhat.com
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    CHANGELOG.md
    data/firefox-mrec-opus.webm
    data/var-int.golden

source-repository head
  type: git
  location: https://github.com/TristanCacqueray/haskell-ebml

library
  exposed-modules:
      Codec.EBML
  other-modules:
      Codec.EBML.Decoder
      Codec.EBML.Element
      Codec.EBML.Matroska
      Codec.EBML.Pretty
      Codec.EBML.Schema
      Codec.EBML.Stream
      Codec.EBML.WebM
      Paths_ebml
  hs-source-dirs:
      src
  default-extensions:
      OverloadedStrings
      ImportQualifiedPost
      LambdaCase
      DerivingStrategies
      DuplicateRecordFields
      OverloadedRecordDot
      BlockArguments
      StrictData
      MultiWayIf
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -Wno-partial-type-signatures -fwrite-ide-info -hiedir=.hie -Wno-missing-methods
  build-depends:
      base <5
    , binary
    , bytestring
    , containers
    , text
  default-language: GHC2021

executable haskell-ebml
  main-is: Main.hs
  other-modules:
      Paths_ebml
  hs-source-dirs:
      app
  default-extensions:
      OverloadedStrings
      ImportQualifiedPost
      LambdaCase
      DerivingStrategies
      DuplicateRecordFields
      OverloadedRecordDot
      BlockArguments
      StrictData
      MultiWayIf
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -Wno-partial-type-signatures -fwrite-ide-info -hiedir=.hie -Wno-missing-methods -threaded -rtsopts -with-rtsopts=-T
  build-depends:
      base <5
    , bytestring
    , ebml
    , text
  default-language: GHC2021

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_ebml
  hs-source-dirs:
      test
  default-extensions:
      OverloadedStrings
      ImportQualifiedPost
      LambdaCase
      DerivingStrategies
      DuplicateRecordFields
      OverloadedRecordDot
      BlockArguments
      StrictData
      MultiWayIf
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -Wno-partial-type-signatures -fwrite-ide-info -hiedir=.hie -Wno-missing-methods -threaded -rtsopts -with-rtsopts=-T
  build-depends:
      base <5
    , binary
    , bytestring
    , ebml
    , split
    , tasty
    , tasty-golden
    , tasty-hunit
    , text
  default-language: GHC2021