cabal-version:       2.0
name:                ostree-pin
version:             0.1.1
synopsis:            Tool to update ostree deployment pin
description:         CLI tool to easily pin the current ostree deployment
license:             GPL-3
license-file:        LICENSE
author:              Jens Petersen <petersen@redhat.com>
maintainer:          Jens Petersen <petersen@redhat.com>
copyright:           2019-2021, 2023 Jens Petersen
category:            Utility
homepage:            https://github.com/juhp/ostree-pin
bug-reports:         https://github.com/juhp/ostree-pin/issues
build-type:          Simple
extra-doc-files:     README.md
                     CHANGELOG.md
tested-with:         GHC == 9.2.8, GHC == 9.4.7, GHC == 9.6.3

source-repository head
  type:                git
  location:            https://github.com/juhp/ostree-pin.git

executable ostree-pin
  main-is:             Main.hs
  other-modules:       Paths_ostree_pin
  autogen-modules:     Paths_ostree_pin
  hs-source-dirs:      src
  build-depends:       base < 5
                     , gi-gio
                     , gi-ostree >= 1.0.18
                     , simple-cmd-args
                     , unix
  default-language:    Haskell2010
  ghc-options:         -Wall
  if impl(ghc >= 8.0)
    ghc-options:       -Wcompat
                       -Widentities
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wredundant-constraints
  if impl(ghc >= 8.2)
    ghc-options:       -fhide-source-paths
  if impl(ghc >= 8.4)
    ghc-options:       -Wmissing-export-lists
                       -Wpartial-fields
  if impl(ghc >= 8.10)
    ghc-options:       -Wunused-packages