name:     Foo             
version:  1.0

if(os(darwin))
  optimization: False
elif(os(freebsd))
  packages: freebsd/*.cabal
else
  optimization: True

import: https://some.remote.source/subdir/cabal.config

import: relativepath/extra-project.project
-- bla bla

import: /absolutepath/some-project.project

tested-with: GHC == 9.0.1
           , GHC == 8.10.4 -- bla bla
           , GHC == 8.8.4

tested-with:
  GHC == 9.0.1
  GHC == 8.10.4

tested-with: GHC == { 9.0.1, 8.10.4, 8.8.4 }

library attoparsec
  build-depends:
    , base         ^>= 4.11.1.0
    , bytestring   ^>= 0.10.2.0

cabal-version: 3.0
name: haddock-library
version: 1.6.0
license: BSD-3-Clause

test-suite foo
  type: exitcode-stdio-1.0

-- bla bla
library
  build-depends:
    , base         ^>= 4.11.1.0
    , containers   ^>= 0.4.2.1 || ^>= 0.5.0.0

library
  default-language: Haskell2010
  build-depends:    base >= 4 && < 5
  exposed-modules:  Foo
  extensions:       ForeignFunctionInterface
  ghc-options:      -Wall 
  if os(windows)
    build-depends: Win32 >= 2.1 && < 2.6
