packages feed

waterfall-cad-examples-0.9.0.0: waterfall-cad-examples.cabal

cabal-version: 1.12

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

name:           waterfall-cad-examples
version:        0.9.0.0
synopsis:       Examples for Waterfall CAD, a Declarative CAD/Solid Modeling Library
description:    Please see the README on GitHub at <https://github.com/joe-warren/opencascade-hs#readme>
category:       Graphics
homepage:       https://github.com/joe-warren/opencascade-hs#readme
bug-reports:    https://github.com/joe-warren/opencascade-hs/issues
author:         Joe Warren
maintainer:     josephmarkwarren@gmail.com
copyright:      2023 Joe Warren
license:        LGPL-2.1
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    LICENSE
    README.md
    CHANGELOG.md
data-files:
    test-data/2d-booleans.svg
    test-data/bounding-boxes.svg
    test-data/boundingBoxesOfEllipse.svg
    test-data/compoundSection.svg
    test-data/compoundSilhouette.svg
    test-data/csg.svg
    test-data/curvySweep.svg
    test-data/curvySweepConcentricSquares.svg
    test-data/curvySweepOffsetShape.svg
    test-data/curvySweepTwoCircles.svg
    test-data/fillet.svg
    test-data/filletCone.svg
    test-data/flags.svg
    test-data/foldIntersectionOfCubes.svg
    test-data/foldIntersectionOfSquares.svg
    test-data/foldUnionOfCubes.svg
    test-data/foldUnionOfSquares.svg
    test-data/gear-profile.svg
    test-data/gear.svg
    test-data/holeWithCentreOfMassOverSolid.svg
    test-data/intersectionsOfCubes.svg
    test-data/intersectionsOfIdenticalCubes.svg
    test-data/intersectionsOfIdenticalSquares.svg
    test-data/intersectionsOfSquares.svg
    test-data/intersectionsWithMempty.svg
    test-data/intersectionsWithMemptyShape.svg
    test-data/intersectionsWithRepeatedCube.svg
    test-data/intersectionsWithRepeatedSquare.svg
    test-data/loft.svg
    test-data/loftSquares.svg
    test-data/loose-parts.svg
    test-data/loosePartsThenTransform.svg
    test-data/looseShapesDiagram.svg
    test-data/mconcat2Ddiagram.svg
    test-data/nearUnityScale.svg
    test-data/nearUnityScaleTwoD.svg
    test-data/negativeDeterminantGTrsfTwoD.svg
    test-data/negativeMatTransformWithHoleTwoD.svg
    test-data/negativeNonUniformScaleTwoD.svg
    test-data/negativeNonUniformScaleWithHoleTwoD.svg
    test-data/negativeScaledCube-II.svg
    test-data/negativeScaledCube-III.svg
    test-data/negativeScaledCube.svg
    test-data/negativeScaledCuboid.svg
    test-data/negativeUniformScaleTwoD.svg
    test-data/negativeUniformScaleWithHoleTwoD.svg
    test-data/noopFilletCube.svg
    test-data/offset.svg
    test-data/offsetCrossNegative.svg
    test-data/offsetCrossPositive.svg
    test-data/offsetCurvedShapeNegative.svg
    test-data/offsetCurvedShapePositive.svg
    test-data/offsetCurvedShapeScaledNegative.svg
    test-data/offsetCurvedShapeSquareHoleNegative.svg
    test-data/offsetDWithDHoleScaledNegative.svg
    test-data/offsetEllipse.svg
    test-data/offsetEllipseNegative.svg
    test-data/offsetHole.svg
    test-data/offsetHoleBreaksThroughNegative.svg
    test-data/offsetHoleNegative.svg
    test-data/offsetHolePositive.svg
    test-data/offsetHoleScaled.svg
    test-data/offsetOfCompound.svg
    test-data/offsetOfScaledCylinder.svg
    test-data/offsetOfThroughHole.svg
    test-data/offsetRectangle.svg
    test-data/offsetRectangleEllipse.svg
    test-data/offsetRectangleNegative.svg
    test-data/offsetRingWithIslandNegative.svg
    test-data/offsetRingWithIslandPositive.svg
    test-data/offsetRoundTrippedScaledCircle.svg
    test-data/offsetRoundTrippedScaledSquare.svg
    test-data/offsetScaledPathsHoleNegative.svg
    test-data/offsetSquare.svg
    test-data/offsetSquareCurvedHoleNegative.svg
    test-data/offsetSquareHoleMirroredScaledNegative.svg
    test-data/offsetSquareHoleScaledTallNegative.svg
    test-data/offsetSquareHoleScaledWideNegative.svg
    test-data/offsetSquareHoleShearedNegative.svg
    test-data/offsetTwoScaledHoledSquaresNegative.svg
    test-data/orthogonalMatrix.svg
    test-data/orthogonalMatrixTwoD.svg
    test-data/paintedSphere.svg
    test-data/partialRevolution.svg
    test-data/partialRevolutionII.svg
    test-data/partialRevolutionNegative.svg
    test-data/platonic.svg
    test-data/README.md
    test-data/revolution.svg
    test-data/revolutionOfChessProfileHalved.svg
    test-data/revolutionOfShapeCuttingAxis.svg
    test-data/revolutionOfShapeOnAxis.svg
    test-data/revolutionTouchingAxisHalved.svg
    test-data/silhouetteOfRevolution.svg
    test-data/sphereSection.svg
    test-data/sphereSilhouette.svg
    test-data/svgArcNegativeRadii.svg
    test-data/svgArcZeroRadius.svg
    test-data/svgPrism.svg
    test-data/svgRelativeSmoothQuadratic.svg
    test-data/svgRoundedRectPosition.svg
    test-data/svgRoundedRectSingleRadius.svg
    test-data/svgSkewX.svg
    test-data/svgSkewY.svg
    test-data/svgSmoothCubicAfterCubic.svg
    test-data/svgSmoothCubicAfterQuadratic.svg
    test-data/svgSmoothCubicWithoutControlPoint.svg
    test-data/svgSmoothQuadraticAfterCubic.svg
    test-data/svgSmoothQuadraticWithoutControlPoint.svg
    test-data/sweep.svg
    test-data/sweepSquare.svg
    test-data/takePathFraction.svg
    test-data/text.svg
    test-data/torusSilhouette.svg
    test-data/union2D.svg
    test-data/union2Ddiagram.svg
    test-data/unionsOfCubes.svg
    test-data/unionsOfIdenticalCubes.svg
    test-data/unionsOfIdenticalSquares.svg
    test-data/unionsOfSquares.svg
    test-data/unionsWithMempty.svg
    test-data/unionsWithMemptyShape.svg
    test-data/unionsWithRepeatedCube.svg
    test-data/unionsWithRepeatedSquare.svg
    test-data/fonts/varela/OFL.txt
    test-data/fonts/varela/VarelaRound-Regular.ttf
    test-results/.keep

source-repository head
  type: git
  location: https://github.com/joe-warren/opencascade-hs

library
  exposed-modules:
      BoundingBoxExample
      CsgExample
      DarkModeSVG
      FilletExample
      FlagExample
      GearExample
      LoftExample
      LoosePartsExample
      OffsetExample
      PlatonicSolidsExample
      PrismExample
      ReadSolidExpressionExample
      RevolutionExample
      SVG.PathExample
      SVG.ReadFileExample
      SweepExample
      TakePathFractionExample
      TextExample
      TwoDBooleansExample
  other-modules:
      Paths_waterfall_cad_examples
  hs-source-dirs:
      src
  ghc-options: -Wall -Werror=compat -Werror=identities -Werror=incomplete-record-updates -Werror=incomplete-uni-patterns -Werror=missing-home-modules -Werror=missing-export-lists -Werror=partial-fields -Werror=redundant-constraints -optc -Werror-implicit-function-declaration
  build-depends:
      base >=4.7 && <5
    , lens ==5.*
    , linear >=1.21 && <2
    , opencascade-hs >=0.9.0.0 && <0.10
    , optparse-applicative >=0.17 && <0.19
    , parsec ==3.1.*
    , parser-combinators >=1.2 && <1.4
    , raw-strings-qq >=1.1 && <2
    , svg-tree >=0.6 && <1
    , text ==2.*
    , waterfall-cad >=0.9.0.0 && <0.10
    , waterfall-cad-svg >=0.9.0.0 && <0.10
    , xml ==1.*
  default-language: Haskell2010

executable waterfall-cad-examples
  main-is: Main.hs
  other-modules:
      Paths_waterfall_cad_examples
  hs-source-dirs:
      app
  ghc-options: -Wall -Werror=compat -Werror=identities -Werror=incomplete-record-updates -Werror=incomplete-uni-patterns -Werror=missing-home-modules -Werror=missing-export-lists -Werror=partial-fields -Werror=redundant-constraints -optc -Werror-implicit-function-declaration -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , lens ==5.*
    , linear >=1.21 && <2
    , opencascade-hs >=0.9.0.0 && <0.10
    , optparse-applicative >=0.17 && <0.19
    , parsec ==3.1.*
    , parser-combinators >=1.2 && <1.4
    , raw-strings-qq >=1.1 && <2
    , svg-tree >=0.6 && <1
    , text ==2.*
    , waterfall-cad >=0.9.0.0 && <0.10
    , waterfall-cad-examples
    , waterfall-cad-svg >=0.9.0.0 && <0.10
    , xml ==1.*
  default-language: Haskell2010

test-suite waterfall-cad-tests
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Assertions
      DiagramGoldenTests
      DiagramTests
      ExceptionTests
      LifetimeTests
      PaintTests
      PathTests
      ShapeTests
      SolidTests
      Paths_waterfall_cad_examples
  hs-source-dirs:
      test
  ghc-options: -Wall -Werror=compat -Werror=identities -Werror=incomplete-record-updates -Werror=incomplete-uni-patterns -Werror=missing-home-modules -Werror=missing-export-lists -Werror=partial-fields -Werror=redundant-constraints -optc -Werror-implicit-function-declaration -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      FontyFruity
    , JuicyPixels
    , base >=4.7 && <5
    , bytestring
    , filepath
    , lens ==5.*
    , linear >=1.21 && <2
    , mtl
    , opencascade-hs >=0.9.0.0 && <0.10
    , optparse-applicative >=0.17 && <0.19
    , parsec ==3.1.*
    , parser-combinators >=1.2 && <1.4
    , rasterific-svg
    , raw-strings-qq >=1.1 && <2
    , resourcet
    , svg-tree >=0.6 && <1
    , tasty
    , tasty-golden
    , tasty-hunit
    , temporary
    , text ==2.*
    , waterfall-cad >=0.9.0.0 && <0.10
    , waterfall-cad-examples
    , waterfall-cad-svg >=0.9.0.0 && <0.10
    , xml ==1.*
  default-language: Haskell2010