Subject: bug#54752: import: hackage: `elif` conditionals not supported

From: "Philip Munksgaard" <[email-masked]>
Date: Wed, 06 Apr 2022 18:19:49 +0200

Since Cabal 2.2 conditional blocks support the `elif` construct [0], but our hackage importer does not currently support such expressions. This causes importing packages like `raaz` [1] to fail.

0: https://cabal.readthedocs.io/en/latest/cabal-package.html?highlight=elif#conditional-blocks
1: https://hackage.haskell.org/package/raaz