https://gitlab.inria.fr/abrenon/soprano
Tip revision: 3fc6efcf5444dee0c690d4d57aab06a50593ad8a authored by Alice Brenon on 25 November 2025, 13:33:00 UTC
Switch license to GPLv3 (https://www.gnu.org/licenses/gpl.html)
Switch license to GPLv3 (https://www.gnu.org/licenses/gpl.html)
Tip revision: 3fc6efc
soprano.cabal
cabal-version: >=1.10
-- Initial package description 'OLR.cabal' generated by 'cabal init'. For
-- further documentation, see http://haskell.org/cabal/users-guide/
name: soprano
version: 0.2.0.1
synopsis: A tool to process ALTO files from the BnF
homepage: https://gitlab.huma-num.fr/disco-lge/soprano
-- description:
-- bug-reports:
license: GPL-3
license-file: LICENSE.md
author: Alice Brenon
maintainer: alice.brenon@ens-lyon.fr
-- copyright:
category: Text
build-type: Simple
extra-source-files: CHANGELOG.md, README.md
library
exposed-modules: Context
, Data.Char.Extra
, Data.String.Extra
, Log
, Scoria
, Text.XML.Light.ALTO
, Text.XML.Light.ALTO.Block
, Text.XML.Light.ALTO.Block.Caption
, Text.XML.Light.ALTO.Block.Header
, Text.XML.Light.ALTO.Block.Peritext
, Text.XML.Light.ALTO.Block.Pre
, Text.XML.Light.ALTO.Block.Sixteenmo
, Text.XML.Light.ALTO.Clean
, Text.XML.Light.ALTO.Dump
, Text.XML.Light.ALTO.Geometry
, Text.XML.Light.ALTO.Layout
, Text.XML.Light.ALTO.RectElement
, Text.XML.Light.ALTO.Retrieve
, Text.XML.Light.Extra
, Text.XML.Light.TEI
, Text.XML.Light.TEI.Article
, Text.XML.Light.TEI.Article.SegmenterUtils
, Text.XML.Light.XPath
, Step
, Utils
-- other-modules:
-- other-extensions:
build-depends: base >=4.11 && <4.16
, containers >= 0.6.0 && < 0.7
, edit-distance >= 0.2.2 && < 0.3
, mtl >= 2.2.2 && < 2.3
, pipes >= 4.3.13 && < 4.4
, roman-numerals >= 0.5.1.5 && < 0.6
, xml >= 1.3.14 && < 1.5
hs-source-dirs: lib
ghc-options: -Wall
default-language: Haskell2010
executable soprano
main-is: Main.hs
other-modules: Config
, Paths_soprano
-- other-extensions:
build-depends: base
, containers
, directory >= 1.3.3 && < 1.4
, filepath >= 1.3 && < 1.5
, mtl
, optparse-applicative >= 0.13.2 && < 0.17
, pipes
, soprano
, unix >= 2.5.1 && < 2.8
, xml
hs-source-dirs: app
ghc-options: -Wall
default-language: Haskell2010
test-suite tests
type: detailed-0.9
test-module: Tests
other-modules: Articles
, Cleaning
, Mock.Context
, Mock.Headwords
, Mock.Layout
, Mock.Page
, Mock.Resource
, Mock.TextBlock
, Mock.XML
, Ordering
, Peritext
, RectElement
, XML
build-depends: base
, Cabal
, containers
, directory
, filepath
, mtl
, soprano
, xml
hs-source-dirs: test
ghc-options: -Wall
default-language: Haskell2010
