aboutsummaryrefslogtreecommitdiffstats
path: root/hsc.cabal
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2024-05-26 11:01:22 -0700
committerRose Hogenson <rosehogenson@posteo.net>2024-05-26 11:01:22 -0700
commitbdab4cfd4dcff5e45c14af8ebf8f1c795b1ac01a (patch)
tree892575b5894372e1e72c81f70c6769b5ca28841a /hsc.cabal
parent3b2b83c2fee20561b058cf1480c160027a45f6e7 (diff)
downloadhsc-bdab4cfd4dcff5e45c14af8ebf8f1c795b1ac01a.tar.zst
Add flake.nix for building on NixOS.HEADmain
Diffstat (limited to 'hsc.cabal')
-rw-r--r--hsc.cabal21
1 files changed, 11 insertions, 10 deletions
diff --git a/hsc.cabal b/hsc.cabal
index 1f1f883..3092122 100644
--- a/hsc.cabal
+++ b/hsc.cabal
@@ -10,13 +10,10 @@ name: hsc
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
-version: 0.1
+version: 1.0
-- A short (one-line) description of the package.
-synopsis: Probably something like this already exists
-
-description: A small calculator meant to be opened with a keybinding for quick
- calculations.
+synopsis: A minimalist calculator for quick calculations.
-- A longer description of the package.
-- description:
@@ -28,11 +25,11 @@ license: GPL-3
license-file: LICENSE
-- The package author(s).
-author: Raymond Hogenson
+author: Rose Hogenson
-- An email address to which users can send suggestions, bug reports, and
-- patches.
-maintainer: rhogenson@posteo.net
+maintainer: rosehogenson@posteo.net
-- A copyright notice.
-- copyright:
@@ -46,7 +43,7 @@ build-type: Simple
extra-source-files: ChangeLog.md
-- Constraint on the version of Cabal needed to build this package.
-cabal-version: >=1.10
+cabal-version: 2.0
executable hsc
@@ -60,7 +57,11 @@ executable hsc
-- other-extensions:
-- Other library packages from which modules are imported.
- build-depends: base >=4.9 && <5.0, containers >=0.5 && <1.0, parsec >=3.1 && <4.0, gtk3 >=0.14.6 && <1.0.0
+ build-depends:
+ base^>=4.18.2.1,
+ containers^>=0.6.7,
+ parsec^>=3.1.16.1,
+ gtk3^>=0.15.8
-- Directories containing source files.
-- hs-source-dirs:
@@ -68,4 +69,4 @@ executable hsc
-- Base language which the package is written in.
default-language: Haskell2010
- ghc-options: -Wall -rtsopts
+ ghc-options: -Wall -Werror