packages feed

data-r-tree-0.6.0: data-r-tree.cabal

cabal-version: 2.2

name:                   data-r-tree
version:                0.6.0
synopsis:               R-Tree is a spatial data structure similar to Quadtrees or B-Trees.
description:            R-Tree is a spatial data structure similar to Quadtrees or B-Trees.
  
  An R-Tree is a balanced tree and optimized for lookups. This implemetation useses an R-Tree to privide
  a map to arbitrary values. 

license:                MIT
license-file:           LICENSE
author:                 Sebastian Wagner, Birte Wagner
maintainer:             sebastian@spawnhost.de
copyright:              Sebastian Wagner, Birte Wagner
category:               Data Structures
build-type:             Simple

Extra-source-files:     changelog.md
                        README.md

bug-reports:            https://github.com/sebastian-philipp/r-tree/issues
homepage:               https://github.com/sebastian-philipp/r-tree

source-repository head
  type:                 git
  location:             https://github.com/sebastian-philipp/r-tree.git

common base                         { build-depends: base                           >= 4          && < 5      }

common binary                       { build-depends: binary                         >= 0.8        && < 0.11   }
common containers                   { build-depends: containers                     >= 0.5        && < 0.7    }
common deepseq                      { build-depends: deepseq                        >= 1.4        && < 1.5    }
common ghc-heap-view                { build-depends: ghc-heap-view                  >= 0.5        && < 0.7    }
common HUnit                        { build-depends: HUnit                          >= 1.6        && < 1.7    }
common QuickCheck                   { build-depends: QuickCheck                     >= 2.13       && < 2.14   }
common test-framework               { build-depends: test-framework                 >= 0.8        && < 0.9    }
common test-framework-hunit         { build-depends: test-framework-hunit           >= 0.3        && < 0.4    }
common test-framework-quickcheck2   { build-depends: test-framework-quickcheck2     >= 0.3        && < 0.4    }

common config
  default-language:     Haskell2010
  ghc-options:          -Wall -fwarn-tabs

common data-r-tree
  build-depends:        data-r-tree

library
  import:               base, config
                      , binary
                      , deepseq
  exposed-modules:      Data.RTree
                        Data.RTree.MBB
                        Data.RTree.Base
                        Data.RTree.Strict


test-suite properties
  import:               base, config
                      , binary
                      , containers
                      , data-r-tree
                      , HUnit
                      , QuickCheck
                      , test-framework
                      , test-framework-hunit
                      , test-framework-quickcheck2
  type:                 exitcode-stdio-1.0
  main-is:              RTreeProperties.hs
  other-extensions:     NoMonomorphismRestriction
  ghc-options:  -Wall -fwarn-tabs -Wno-orphans
  hs-source-dirs:       test

test-suite strict
  import:               base, config
                      , data-r-tree
                      , deepseq
                      , ghc-heap-view
                      , HUnit
                      , QuickCheck
                      , test-framework
                      , test-framework-hunit
                      , test-framework-quickcheck2
  type:                 exitcode-stdio-1.0
  main-is:              RTreeStrict.hs
  ghc-options:  -Wall -fwarn-tabs -Wno-orphans
  hs-source-dirs:       test