aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/arduino/platformio/core.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/arduino/platformio/core.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/arduino/platformio/core.nix13
1 files changed, 3 insertions, 10 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/arduino/platformio/core.nix b/infra/libkookie/nixpkgs/pkgs/development/arduino/platformio/core.nix
index 835e0c692e4b..a039314d753d 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/arduino/platformio/core.nix
+++ b/infra/libkookie/nixpkgs/pkgs/development/arduino/platformio/core.nix
@@ -1,9 +1,10 @@
-{ stdenv, lib, buildPythonApplication, fetchFromGitHub, fetchpatch
+{ stdenv, lib, buildPythonApplication, fetchpatch
, bottle, click, colorama, semantic-version
, lockfile, pyserial, requests
, tabulate, pyelftools, marshmallow
, pytest, tox, jsondiff
, git, spdx-license-list-data
+, version, src
}:
let
@@ -75,15 +76,7 @@ let
in buildPythonApplication rec {
pname = "platformio";
- version = "5.0.1";
-
- # pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964
- src = fetchFromGitHub {
- owner = "platformio";
- repo = "platformio-core";
- rev = "v${version}";
- sha256 = "01xh61ldilg6fg95l1p870rld2xffhnl9f9ndvbi5jdn8q634pmw";
- };
+ inherit version src;
propagatedBuildInputs = [
bottle click colorama git lockfile