nix-book/source/new-flake/haskell-flake/hello-flake-haskell.cabal
Amy de Buitléir 97a04e49ea initial commit
2025-09-02 16:53:56 +01:00

28 lines
1.1 KiB
Text

cabal-version: 3.0
name: hello-flake-haskell
version: 1.0.0
synopsis: A simple demonstration using a Nix flake to package a Haskell program.
description:
For more information and a tutorial on how to use this package,
please see the README at <https://codeberg.org/mhwombat/hello-flake-haskell#readme>.
homepage: https://codeberg.org/mhwombat/nix-book
bug-reports: https://codeberg.org/mhwombat/nix-book/issues
license: GPL-3.0-only
license-file: LICENSE
author: Amy de Buitléir
maintainer: amy@nualeargais.ie
copyright: (c) 2023 Amy de Buitléir
category: Text
build-type: Simple
executable hello-flake-haskell
main-is: Main.hs
build-depends:
base,
hostname
-- NOTE: Best practice is to specify version constraints for the packages we depend on.
-- However, I'm confident that this package will only be used as a Nix flake.
-- Nix will automatically ensure that anyone running this program is using the
-- same library versions that I used to build it.
default-language: Haskell2010