packages feed

jailbreak-cabal-1.4: jailbreak-cabal.cabal

name:                   jailbreak-cabal
version:                1.4
synopsis:               Strip version restrictions from Cabal files
description:            Strip version restrictions from build dependencies in Cabal files.
category:               Distribution
stability:              stable
homepage:               https://github.com/NixOS/jailbreak-cabal
bug-reports:            https://github.com/NixOS/jailbreak-cabal/issues
author:                 Peter Simons, Jeremy Shaw, Joel Taylor, Kosyrev Serge, Nikolay Amiantov, aszlig
maintainer:             sternenseemann@systemli.org
license:                BSD3
license-file:           LICENSE
build-type:             Simple
cabal-version:          >= 1.10
extra-source-files:     CHANGELOG.md

flag Cabal-syntax
  description: Use the new Cabal-syntax package
  default: True
  manual: False

source-repository head
  type: git
  location: https://github.com/NixOS/jailbreak-cabal

executable jailbreak-cabal
  main-is: Main.hs
  build-depends: base < 5

  -- This stunt is necessary to prevent the constraint solver from picking
  -- Cabal-syntax >= 3.7 and Cabal < 3.7 at the same time.
  if flag(Cabal-syntax)
    build-depends: Cabal >= 3.7, Cabal-syntax >= 3.7
  else
    build-depends: Cabal >= 3 && < 3.7, Cabal-syntax < 3.7

  default-language: Haskell2010