summaryrefslogtreecommitdiff
path: root/hs-game.cabal
diff options
context:
space:
mode:
authormtgmonkey <mtgmonkey@nixos>2025-12-13 19:22:42 +0100
committermtgmonkey <mtgmonkey@nixos>2025-12-13 19:22:42 +0100
commite9b4e2d34af8f0ea4a54d8d093108cdfdc68757c (patch)
tree125b11cc5e5d28c12298d1a1e95bdad706e67c5d /hs-game.cabal
parent73985e298a407ecc161d65b6bf92d3fc535aa73a (diff)
Cabal; non-Nix support
Diffstat (limited to 'hs-game.cabal')
-rw-r--r--hs-game.cabal38
1 files changed, 38 insertions, 0 deletions
diff --git a/hs-game.cabal b/hs-game.cabal
new file mode 100644
index 0000000..c38218a
--- /dev/null
+++ b/hs-game.cabal
@@ -0,0 +1,38 @@
+cabal-version: 3.0
+name: hs-game
+version: 0.3.0
+-- synopsis:
+-- description:
+homepage: https://git.mtgmonkey.net/Andromeda/hs-game
+license: BSD-3-Clause
+license-file: LICENSE
+author: andromeda
+maintainer: @andromeda:tchncs.de
+-- copyright:
+category: Game
+build-type: Simple
+extra-doc-files: CHANGELOG.md
+-- extra-source-files:
+
+common warnings
+ ghc-options: -Wall
+
+common optimizations
+ ghc-options: -O2
+
+executable hs-game
+ import: optimizations
+ main-is: Main.hs
+ other-modules:
+ Game.Internal,
+ Game.Internal.LoadShaders,
+ Game.Internal.Types
+ -- other-extensions:
+ build-depends:
+ base >= 4.18,
+ bytestring >= 0.12,
+ GLFW-b >= 3.3,
+ lens >= 5.3,
+ linear >= 1.23,
+ OpenGL >= 3.0,
+ hs-source-dirs: src