@@ -29,7 +29,7 @@ import qualified Text.PrettyPrint as Disp
2929-- LicenseExceptionId
3030-------------------------------------------------------------------------------
3131
32- -- | SPDX License Exceptions identifiers list v3.25
32+ -- | SPDX License Exceptions identifiers list v3.26
3333data LicenseExceptionId
3434{{ licenseIds }}
3535 deriving (Eq , Ord , Enum , Bounded , Show , Read , Data , Generic )
@@ -44,7 +44,7 @@ instance Binary LicenseExceptionId where
4444
4545-- note: remember to bump version each time the definition changes
4646instance Structured LicenseExceptionId where
47- structure p = set typeVersion 306 $ nominalStructure p
47+ structure p = set typeVersion 307 $ nominalStructure p
4848
4949instance Pretty LicenseExceptionId where
5050 pretty = Disp. text . licenseExceptionId
@@ -104,6 +104,9 @@ licenseExceptionIdList LicenseListVersion_3_23 =
104104licenseExceptionIdList LicenseListVersion_3_25 =
105105{{licenseList_perv. v_3_25}}
106106 ++ bulkOfLicenses
107+ licenseExceptionIdList LicenseListVersion_3_26 =
108+ {{licenseList_perv. v_3_26}}
109+ ++ bulkOfLicenses
107110
108111-- | Create a 'LicenseExceptionId' from a 'String'.
109112mkLicenseExceptionId :: LicenseListVersion -> String -> Maybe LicenseExceptionId
@@ -115,6 +118,7 @@ mkLicenseExceptionId LicenseListVersion_3_10 s = Map.lookup s stringLookup_3_10
115118mkLicenseExceptionId LicenseListVersion_3_16 s = Map. lookup s stringLookup_3_16
116119mkLicenseExceptionId LicenseListVersion_3_23 s = Map. lookup s stringLookup_3_23
117120mkLicenseExceptionId LicenseListVersion_3_25 s = Map. lookup s stringLookup_3_25
121+ mkLicenseExceptionId LicenseListVersion_3_26 s = Map. lookup s stringLookup_3_26
118122
119123stringLookup_3_0 :: Map String LicenseExceptionId
120124stringLookup_3_0 = Map. fromList $ map (\ i -> (licenseExceptionId i, i)) $
@@ -148,6 +152,10 @@ stringLookup_3_25 :: Map String LicenseExceptionId
148152stringLookup_3_25 = Map. fromList $ map (\ i -> (licenseExceptionId i, i)) $
149153 licenseExceptionIdList LicenseListVersion_3_25
150154
155+ stringLookup_3_26 :: Map String LicenseExceptionId
156+ stringLookup_3_26 = Map. fromList $ map (\ i -> (licenseExceptionId i, i)) $
157+ licenseExceptionIdList LicenseListVersion_3_26
158+
151159-- | License exceptions in all SPDX License lists
152160bulkOfLicenses :: [LicenseExceptionId ]
153161bulkOfLicenses =
0 commit comments