summary refs log tree commit diff
path: root/pkgs/development/embedded/platformio/use-local-spdx-license-list.patch
blob: 156600595f9fa8f7e14f4db9830e45f89d5c3b7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/platformio/package/manifest/schema.py b/platformio/package/manifest/schema.py
index addc4c5..514b0ad 100644
--- a/platformio/package/manifest/schema.py
+++ b/platformio/package/manifest/schema.py
@@ -253,9 +253,4 @@ class ManifestSchema(BaseSchema):
     @staticmethod
     @memoized(expire="1h")
     def load_spdx_licenses():
-        version = "3.14"
-        spdx_data_url = (
-            "https://raw.githubusercontent.com/spdx/license-list-data/"
-            "v%s/json/licenses.json" % version
-        )
-        return json.loads(fetch_remote_content(spdx_data_url))
+        return json.load(open("@SPDX_LICENSE_LIST_DATA@/json/licenses.json"))