summary refs log tree commit diff
path: root/pkgs/development/embedded/platformio
diff options
context:
space:
mode:
authorc0bw3b <c0bw3b@users.noreply.github.com>2022-02-26 12:38:27 +0100
committerc0bw3b <c0bw3b@users.noreply.github.com>2022-03-02 23:27:56 +0100
commit68e8e30670f9cb1f433a06fb79452a3f71e13808 (patch)
treea3ebacb5eba1058183cb021e52e88cc0e1f85665 /pkgs/development/embedded/platformio
parent88198555d040aa6c4ce3e50e878dc24bb51e4001 (diff)
downloadnixpkgs-68e8e30670f9cb1f433a06fb79452a3f71e13808.tar
nixpkgs-68e8e30670f9cb1f433a06fb79452a3f71e13808.tar.gz
nixpkgs-68e8e30670f9cb1f433a06fb79452a3f71e13808.tar.bz2
nixpkgs-68e8e30670f9cb1f433a06fb79452a3f71e13808.tar.lz
nixpkgs-68e8e30670f9cb1f433a06fb79452a3f71e13808.tar.xz
nixpkgs-68e8e30670f9cb1f433a06fb79452a3f71e13808.tar.zst
nixpkgs-68e8e30670f9cb1f433a06fb79452a3f71e13808.zip
platformio: use json output of spdx-license-list-data
And update meta.homepage (permanent redirect on http://)
Diffstat (limited to 'pkgs/development/embedded/platformio')
-rw-r--r--pkgs/development/embedded/platformio/core.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix
index 31255aaca53..774b55338e0 100644
--- a/pkgs/development/embedded/platformio/core.nix
+++ b/pkgs/development/embedded/platformio/core.nix
@@ -80,6 +80,7 @@ with python.pkgs; buildPythonApplication rec {
     pyserial
     requests
     semantic-version
+    spdx-license-list-data.json
     starlette
     tabulate
     uvicorn
@@ -171,7 +172,7 @@ with python.pkgs; buildPythonApplication rec {
 
   postPatch = ''
     substitute platformio/package/manifest/schema.py platformio/package/manifest/schema.py \
-      --subst-var-by SPDX_LICENSE_LIST_DATA '${spdx-license-list-data}'
+      --subst-var-by SPDX_LICENSE_LIST_DATA '${spdx-license-list-data.json}'
 
     substituteInPlace setup.py \
       --replace "zeroconf==0.37.*" "zeroconf"
@@ -180,7 +181,7 @@ with python.pkgs; buildPythonApplication rec {
   meta = with lib; {
     broken = stdenv.isAarch64;
     description = "An open source ecosystem for IoT development";
-    homepage = "http://platformio.org";
+    homepage = "https://platformio.org";
     license = licenses.asl20;
     maintainers = with maintainers; [ mog makefu ];
   };