mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:03:22 +00:00
12 lines
576 B
Diff
12 lines
576 B
Diff
diff --git a/platformio/package/manifest/schema.py b/platformio/package/manifest/schema.py
|
|
index f293ba5a..a818271f 100644
|
|
--- a/platformio/package/manifest/schema.py
|
|
+++ b/platformio/package/manifest/schema.py
|
|
@@ -252,5 +252,4 @@ class ManifestSchema(BaseSchema):
|
|
@staticmethod
|
|
@memoized(expire="1h")
|
|
def load_spdx_licenses():
|
|
- spdx_data_url = "https://dl.bintray.com/platformio/dl-misc/spdx-licenses-3.json"
|
|
- return json.loads(fetch_remote_content(spdx_data_url))
|
|
+ return json.load(open("@SPDX_LICENSE_LIST_DATA@/json/licenses.json"))
|