packages feed

simple-vec3-0.4.0.2: simple-vec3.cabal

cabal-version: >=1.10
name: simple-vec3
version: 0.4.0.2
license: BSD3
license-file: LICENSE
maintainer: dima@dzhus.org
author: Dmitry Dzhus
homepage: https://github.com/dzhus/simple-vec3#readme
bug-reports: https://github.com/dzhus/simple-vec3/issues
synopsis: Three-dimensional vectors of doubles with basic operations
description:
    Simple three-dimensional vectors of doubles with basic vector and matrix operations, supporting "Data.Vector.Unboxed" and "Data.Vector.Storable".
category: Math, Numerical
build-type: Simple
extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
    type: git
    location: https://github.com/dzhus/simple-vec3

library
    exposed-modules:
        Data.Vec3
        Data.Vec3.Class
    hs-source-dirs: src
    other-modules:
        Paths_simple_vec3
    default-language: Haskell2010
    ghc-options: -Wall -Wcompat -O2
    build-depends:
        QuickCheck <2.12,
        base <5,
        vector <0.13

test-suite simple-vec3-doctests
    type: exitcode-stdio-1.0
    main-is: doctest-driver.hs
    hs-source-dirs: tests
    other-modules:
        Main
        Paths_simple_vec3
    default-language: Haskell2010
    ghc-options: -Wall -Wcompat -O2 -threaded
    build-depends:
        base <5,
        doctest <0.16,
        doctest-driver-gen <0.3

test-suite simple-vec3-test
    type: exitcode-stdio-1.0
    main-is: Main.hs
    hs-source-dirs: tests
    other-modules:
        Paths_simple_vec3
    default-language: Haskell2010
    ghc-options: -Wall -Wcompat -O2
    build-depends:
        base <5,
        simple-vec3 -any,
        tasty <1.1,
        tasty-quickcheck <0.10

benchmark simple-vec3-benchmark
    type: exitcode-stdio-1.0
    main-is: Benchmark.hs
    hs-source-dirs: benchmark
    other-modules:
        Paths_simple_vec3
    default-language: Haskell2010
    ghc-options: -Wall -Wcompat -O2
    build-depends:
        base <5,
        criterion <1.4,
        simple-vec3 -any,
        vector <0.13