@@ -29,7 +29,7 @@ import qualified Text.PrettyPrint as Disp
29
29
-- LicenseExceptionId
30
30
-------------------------------------------------------------------------------
31
31
32
- -- | SPDX License Exceptions identifiers list v3.25
32
+ -- | SPDX License Exceptions identifiers list v3.26
33
33
data LicenseExceptionId
34
34
{{ licenseIds }}
35
35
deriving (Eq , Ord , Enum , Bounded , Show , Read , Data , Generic )
@@ -44,7 +44,7 @@ instance Binary LicenseExceptionId where
44
44
45
45
-- note: remember to bump version each time the definition changes
46
46
instance Structured LicenseExceptionId where
47
- structure p = set typeVersion 306 $ nominalStructure p
47
+ structure p = set typeVersion 307 $ nominalStructure p
48
48
49
49
instance Pretty LicenseExceptionId where
50
50
pretty = Disp. text . licenseExceptionId
@@ -104,6 +104,9 @@ licenseExceptionIdList LicenseListVersion_3_23 =
104
104
licenseExceptionIdList LicenseListVersion_3_25 =
105
105
{{licenseList_perv. v_3_25}}
106
106
++ bulkOfLicenses
107
+ licenseExceptionIdList LicenseListVersion_3_26 =
108
+ {{licenseList_perv. v_3_26}}
109
+ ++ bulkOfLicenses
107
110
108
111
-- | Create a 'LicenseExceptionId' from a 'String'.
109
112
mkLicenseExceptionId :: LicenseListVersion -> String -> Maybe LicenseExceptionId
@@ -115,6 +118,7 @@ mkLicenseExceptionId LicenseListVersion_3_10 s = Map.lookup s stringLookup_3_10
115
118
mkLicenseExceptionId LicenseListVersion_3_16 s = Map. lookup s stringLookup_3_16
116
119
mkLicenseExceptionId LicenseListVersion_3_23 s = Map. lookup s stringLookup_3_23
117
120
mkLicenseExceptionId LicenseListVersion_3_25 s = Map. lookup s stringLookup_3_25
121
+ mkLicenseExceptionId LicenseListVersion_3_26 s = Map. lookup s stringLookup_3_26
118
122
119
123
stringLookup_3_0 :: Map String LicenseExceptionId
120
124
stringLookup_3_0 = Map. fromList $ map (\ i -> (licenseExceptionId i, i)) $
@@ -148,6 +152,10 @@ stringLookup_3_25 :: Map String LicenseExceptionId
148
152
stringLookup_3_25 = Map. fromList $ map (\ i -> (licenseExceptionId i, i)) $
149
153
licenseExceptionIdList LicenseListVersion_3_25
150
154
155
+ stringLookup_3_26 :: Map String LicenseExceptionId
156
+ stringLookup_3_26 = Map. fromList $ map (\ i -> (licenseExceptionId i, i)) $
157
+ licenseExceptionIdList LicenseListVersion_3_26
158
+
151
159
-- | License exceptions in all SPDX License lists
152
160
bulkOfLicenses :: [LicenseExceptionId ]
153
161
bulkOfLicenses =
0 commit comments