make LTS branch pre-releases
[cabal.git] / Cabal-syntax / src / Distribution / SPDX.hs
bloba21c726fefe2dc73b23c74c595ed52804191aab4
1 -- | This module implements SPDX specification version 2.1 with a version 3.0 license list.
2 --
3 -- Specification is available on <https://spdx.org/specifications>
4 module Distribution.SPDX
5 ( -- * License
6 License (..)
8 -- * License expression
9 , LicenseExpression (..)
10 , SimpleLicenseExpression (..)
11 , simpleLicenseExpression
13 -- * License identifier
14 , LicenseId (..)
15 , licenseId
16 , licenseName
17 , licenseIsOsiApproved
18 , mkLicenseId
19 , licenseIdList
21 -- * License exception
22 , LicenseExceptionId (..)
23 , licenseExceptionId
24 , licenseExceptionName
25 , mkLicenseExceptionId
26 , licenseExceptionIdList
28 -- * License reference
29 , LicenseRef
30 , licenseRef
31 , licenseDocumentRef
32 , mkLicenseRef
33 , mkLicenseRef'
35 -- * License list version
36 , LicenseListVersion (..)
37 , cabalSpecVersionToSPDXListVersion
38 ) where
40 import Distribution.SPDX.License
41 import Distribution.SPDX.LicenseExceptionId
42 import Distribution.SPDX.LicenseExpression
43 import Distribution.SPDX.LicenseId
44 import Distribution.SPDX.LicenseListVersion
45 import Distribution.SPDX.LicenseReference