Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit ef6994c

Browse files
flokliseppeljordan
authored andcommitted
detect MPL-2.0 as license
as seen in certifi package.
1 parent aa31ad1 commit ef6994c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pypi2nix/stage2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def find_license(item):
163163
elif license in ['GNU Lesser General Public License (LGPL), Version 3',
164164
'LGPL']:
165165
license = "licenses.lgpl3"
166-
elif license in ['MPL 2.0', 'MPL 2.0 (Mozilla Public License)']:
166+
elif license in ['MPL 2.0', 'MPL 2.0 (Mozilla Public License)', 'MPL-2.0']:
167167
license = "licenses.mpl20"
168168
elif license in ['Python Software Foundation License']:
169169
license = "licenses.psfl"

0 commit comments

Comments
 (0)