mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-28 01:05:02 +08:00
28 lines
1.1 KiB
Text
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
|
|
|