packages feed

pure-noise-0.1.0.1: pure-noise.cabal

cabal-version: 2.2

-- This file has been generated from package.yaml by hpack version 0.37.0.
--
-- see: https://github.com/sol/hpack

name:           pure-noise
version:        0.1.0.1
synopsis:       Performant, modern noise generation for Haskell with minimal dependencies. Based on FastNoiseLite.
description:    Please see the README on GitHub at <https://github.com/jtnuttall/pure-noise#readme>
category:       Math, Numeric, Noise
homepage:       https://github.com/jtnuttall/pure-noise#readme
bug-reports:    https://github.com/jtnuttall/pure-noise/issues
author:         Jeremy Nuttall
maintainer:     jeremy@jeremy-nuttall.com
copyright:      2024 Jeremy Nuttall
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/jtnuttall/pure-noise

library
  exposed-modules:
      Numeric.Noise
      Numeric.Noise.Cellular
      Numeric.Noise.Fractal
      Numeric.Noise.Internal
      Numeric.Noise.Internal.Math
      Numeric.Noise.OpenSimplex
      Numeric.Noise.Perlin
      Numeric.Noise.SuperSimplex
      Numeric.Noise.Value
      Numeric.Noise.ValueCubic
  other-modules:
      Paths_pure_noise
  autogen-modules:
      Paths_pure_noise
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , vector <=0.14
  default-language: GHC2021

test-suite pure-noise-test
  type: exitcode-stdio-1.0
  main-is: Driver.hs
  other-modules:
      Noise2Spec
      Noise3Spec
      PerlinSpec
      Paths_pure_noise
  autogen-modules:
      Paths_pure_noise
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wno-missing-export-lists -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , pure-noise
    , tasty
    , tasty-discover
    , tasty-hunit
    , tasty-quickcheck
    , vector <=0.14
  default-language: GHC2021

benchmark pure-noise-bench
  type: exitcode-stdio-1.0
  main-is: Bench.hs
  other-modules:
      BenchLib
      Paths_pure_noise
  autogen-modules:
      Paths_pure_noise
  hs-source-dirs:
      bench
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N +RTS -A32m --nonmoving-gc -T -RTS -O2 -optc-O3 -fproc-alignment=64 -fsimpl-tick-factor=1000
  build-depends:
      base >=4.7 && <5
    , deepseq
    , mwc-random
    , pure-noise
    , tasty
    , tasty-bench
    , vector <=0.14
  default-language: GHC2021