Improve assertions in `IntegrationTests2` `testConfigOptionComments`
[cabal.git] / Cabal-tree-diff / src / Data / TreeDiff / Instances / CabalSPDX.hs
blob2926129cb3d27c6f49283f93d998a432fda65ab0
1 {-# LANGUAGE CPP #-}
2 {-# OPTIONS_GHC -freduction-depth=0 #-}
3 {-# OPTIONS_GHC -fno-warn-orphans #-}
4 module Data.TreeDiff.Instances.CabalSPDX () where
6 import Data.TreeDiff
7 import Distribution.License (License)
9 import Data.TreeDiff.Instances.CabalVersion ()
11 import qualified Distribution.SPDX as SPDX
13 -- 'License' almost belongs here.
15 instance ToExpr License
17 -- Generics instance is too heavy
18 instance ToExpr SPDX.LicenseId where toExpr = defaultExprViaShow
19 instance ToExpr SPDX.LicenseExceptionId where toExpr = defaultExprViaShow
21 instance ToExpr SPDX.License
22 instance ToExpr SPDX.LicenseExpression
23 instance ToExpr SPDX.LicenseRef
24 instance ToExpr SPDX.SimpleLicenseExpression