]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
spline3.cabal: update for newer cabal and ghc-9.x.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 28 Aug 2022 16:14:02 +0000 (12:14 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 28 Aug 2022 16:14:02 +0000 (12:14 -0400)
spline3.cabal

index 4ff6891609c1822f6631a33bc3e149852f313fe7..9ade73216e28fd0e4f499bd9c83a60bb33027acd 100644 (file)
@@ -1,11 +1,11 @@
+cabal-version:  3.0
 name:           spline3
 version:        1.0.0
-cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
 homepage:       http://michael.orlitzky.com/code/spline3.xhtml
 category:       Math
-license:        AGPL-3
+license:        AGPL-3.0-only
 license-file:   doc/LICENSE
 bug-reports:    mailto:michael@orlitzky.com
 synopsis:
@@ -15,7 +15,7 @@ description:
   by cubic C^1 splines on type-6 tetrahedral partitions." The defaults
   are tailored to the MRI data contained in data/mri.bin from the
   Stanford volume data archive at <http://graphics.stanford.edu/data/voldata/>.
-  .
+
   For more information and examples, please see the project homepage at
   <http://michael.orlitzky.com/code/spline3.xhtml>.
 
@@ -35,7 +35,7 @@ extra-source-files:
 executable spline3
 
   build-depends:
-    base                        < 5,
+    base                        >= 4.15 && < 5,
     cmdargs                     >= 0.10,
     filepath                    >= 1,
     MissingH                    >= 1,
@@ -48,6 +48,9 @@ executable spline3
     tasty-hunit                 >= 0.8,
     tasty-quickcheck            >= 0.8.1
 
+  default-language:
+    Haskell2010
+
   main-is:
     Main.hs
 
@@ -75,13 +78,16 @@ executable spline3
     Values
     Volumetric
 
+  autogen-modules:
+    Paths_spline3
 
 test-suite doctests
   type: exitcode-stdio-1.0
   hs-source-dirs: test
+  default-language: Haskell2010
   main-is: Doctests.hs
   build-depends:
-    base                        < 5,
+    base                        >= 4.15 && < 5,
     -- Additional test dependencies.
     doctest                     >= 0.9
 
@@ -89,6 +95,7 @@ test-suite doctests
 test-suite testsuite
   type: exitcode-stdio-1.0
   hs-source-dirs: src test
+  default-language: Haskell2010
   main-is: TestSuite.hs
 
   other-modules:
@@ -108,7 +115,7 @@ test-suite testsuite
     Values
 
   build-depends:
-    base                        < 5,
+    base                        >= 4.15 && < 5,
     cmdargs                     >= 0.10,
     filepath                    >= 1,
     MissingH                    >= 1,