packages feed

xml-optics-0.1.0: xml-optics.cabal

cabal-version:   3.0
name:            xml-optics
version:         0.1.0

synopsis:        Optics for xml-conduit
description:     Optics port of xml-lens, a collection of optics for xml-conduit
category:        XML
license:         BSD-3-Clause
license-file:    LICENSE
author:          Poscat
maintainer:      Poscat <poscat@mail.poscat.moe>
copyright:       Copyright (c) Poscat 2021
stability:       experimental
homepage:        https://github.com/poscat0x04/xml-optics
bug-reports:     https://github.com/poscat0x04/xml-optics/issues
extra-doc-files:
  CHANGELOG.md
  README.md

common common-attrs
  build-depends:
    , base              >=4.10 && <5
    , containers
    , optics-core
    , xml-conduit
    , text

  default-language:   Haskell2010
  default-extensions:
    NoStarIsType
    BangPatterns
    ConstraintKinds
    DataKinds
    DefaultSignatures
    DeriveFoldable
    DeriveFunctor
    DeriveGeneric
    DeriveTraversable
    DerivingStrategies
    DuplicateRecordFields
    EmptyCase
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GADTs
    GeneralizedNewtypeDeriving
    InstanceSigs
    KindSignatures
    LambdaCase
    MultiWayIf
    NamedFieldPuns
    OverloadedStrings
    PartialTypeSignatures
    PatternSynonyms
    QuantifiedConstraints
    RecordWildCards
    RoleAnnotations
    ScopedTypeVariables
    TupleSections
    TypeApplications
    TypeFamilies
    TypeFamilyDependencies
    TypeOperators
    ViewPatterns

library
  import:          common-attrs
  build-depends:
  exposed-modules:
    Text.XML.Optics
  other-modules:
  hs-source-dirs:  src

source-repository head
  type:     git
  location: https://github.com/poscat0x04/xml-optics