Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 4 additions & 6 deletions
10
pkgs/development/arduino/platformio/missing-udev-rules-nixos.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 4 additions & 9 deletions
13
pkgs/development/arduino/platformio/use-local-spdx-license-list.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
diff --git a/platformio/package/manifest/schema.py b/platformio/package/manifest/schema.py | ||
index be49b3ee..d1390a88 100644 | ||
index f293ba5a..a818271f 100644 | ||
--- a/platformio/package/manifest/schema.py | ||
+++ b/platformio/package/manifest/schema.py | ||
@@ -240,9 +240,5 @@ class ManifestSchema(BaseSchema): | ||
@@ -252,5 +252,4 @@ class ManifestSchema(BaseSchema): | ||
@staticmethod | ||
@memoized(expire="1h") | ||
def load_spdx_licenses(): | ||
- r = requests.get( | ||
- "https://raw.githubusercontent.com/spdx/license-list-data" | ||
- "/v3.9/json/licenses.json" | ||
- ) | ||
- r.raise_for_status() | ||
- return r.json() | ||
+ import json | ||
- 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")) |