packages feed

geojson-4.1.2: geojson.cabal

name:                   geojson
version:                4.1.2
license:                BSD3
license-file:           LICENCE
author:                 Dom De Re
maintainer:             Andrew Newman
copyright:              Copyright (C) 2013-2025
synopsis:               A thin GeoJSON Layer above the aeson library
category:               Data
description:            A thin GeoJSON Layer above the aeson library.
                        .
                        It currently conforms to version 1.0 of the GeoJSON spec which can be found here:
                        .
                        <https://tools.ietf.org/html/rfc7946>

homepage:               https://github.com/zellige/hs-geojson
bug-reports:            https://github.com/zellige/hs-geojson/issues
cabal-version:          1.12
build-type:             Simple
extra-source-files:     README.md,
                        CHANGELOG.md

source-repository       head
    type:               git
    location:           https://github.com/zellige/hs-geojson.git

source-repository       this
    type:               git
    location:           https://github.com/zellige/hs-geojson.git
    tag:                4.1.2

library
    hs-source-dirs:     src
    build-depends:      base            >= 4.9 && < 5
                    ,   aeson           >= 2.0.1.0 && < 3
                    ,   containers      >= 0.5.7.1 && < 0.9
                    ,   deepseq         >= 1.4.2.0 && < 1.6
                    ,   lens            >= 4.11
                    ,   semigroups      >= 0.16
                    ,   text            >= 1.2.3.0 && < 2.2
                    ,   scientific      >= 0.2.0 && < 0.4
                    ,   transformers    >= 0.3 && < 0.7
                    ,   validation      >= 1 && < 2.0
                    ,   vector
    exposed-modules:    Data.Geospatial
                    ,   Data.LinearRing
                    ,   Data.LineString
                    ,   Data.SeqHelper
                    ,   Data.Geospatial.Internal.BasicTypes
                    ,   Data.Geospatial.Internal.CRS
                    ,   Data.Geospatial.Internal.GeoFeature
                    ,   Data.Geospatial.Internal.GeoFeatureCollection
                    ,   Data.Geospatial.Internal.Geometry
                    ,   Data.Geospatial.Internal.Geometry.GeoMultiLine
                    ,   Data.Geospatial.Internal.Geometry.GeoMultiPoint
                    ,   Data.Geospatial.Internal.Geometry.GeoMultiPolygon
                    ,   Data.Geospatial.Internal.Geometry.GeoLine
                    ,   Data.Geospatial.Internal.Geometry.GeoPoint
                    ,   Data.Geospatial.Internal.Geometry.GeoPolygon
                    ,   Data.Geospatial.Internal.Geometry.Aeson
                    ,   Data.Geospatial.Internal.GeoPosition
    default-language:   Haskell2010
    ghc-options:        -Wall

test-suite              geojson-test
    hs-source-dirs:     test
    main-is:            Main.hs
    type:               exitcode-stdio-1.0
    build-depends:      base              >= 4.9 && < 5
                    ,   aeson             >= 2.0.1.0 && < 3
                    ,   bytestring        >= 0.10.8.1 && < 0.13
                    ,   containers        >= 0.5.7.1  && < 0.8
                    ,   geojson
                    ,   hspec             >= 2.5 && < 2.12
                    ,   tasty             >= 0.8 && <0.13 || >=1.0 && <1.6
                    ,   tasty-hspec       >= 1.2 && < 1.3
                    ,   tasty-quickcheck  >= 0.3 && <0.9 || >=0.9.1 && <0.12
                    ,   text              >= 1.2.3.0  && < 2.2
                    ,   validation        >= 1 && < 2.0
    other-modules:      Arbitrary
                    ,   Fixture
                    ,   Data.LinearRingTests
                    ,   Data.LineStringTests
                    ,   Data.SeqHelperTests
                    ,   Data.Geospatial.Internal.CRSTests
                    ,   Data.Geospatial.Internal.GeoFeatureCollectionTests
                    ,   Data.Geospatial.Internal.GeoFeatureTests
                    ,   Data.Geospatial.Internal.GeometryTests
    default-language:   Haskell2010
    ghc-options:        -Wall
                        -threaded