tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
platformio-core: move src & version to main expression
adisbladis
3 years ago
fcbc5d74
8d8dd6fd
+11
-13
2 changed files
expand all
collapse all
unified
split
pkgs
development
embedded
platformio
core.nix
default.nix
+10
-2
pkgs/development/embedded/platformio/core.nix
···
3
3
, fetchPypi
4
4
, git
5
5
, spdx-license-list-data
6
6
-
, version, src
7
6
}:
8
7
9
8
with python3.pkgs; buildPythonApplication rec {
10
9
pname = "platformio";
11
11
-
inherit version src;
10
10
+
11
11
+
version = "6.1.6";
12
12
+
13
13
+
# pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "platformio";
16
16
+
repo = "platformio-core";
17
17
+
rev = "v${version}";
18
18
+
sha256 = "sha256-BEeMfdmAWqFbQUu8YKKrookQVgmhfZBqXnzeb2gfhms=";
19
19
+
};
12
20
13
21
outputs = [ "out" "udev" ];
14
22
+1
-11
pkgs/development/embedded/platformio/default.nix
···
3
3
let
4
4
callPackage = newScope self;
5
5
6
6
-
version = "6.1.6";
7
7
-
8
8
-
# pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964
9
9
-
src = fetchFromGitHub {
10
10
-
owner = "platformio";
11
11
-
repo = "platformio-core";
12
12
-
rev = "v${version}";
13
13
-
sha256 = "sha256-BEeMfdmAWqFbQUu8YKKrookQVgmhfZBqXnzeb2gfhms=";
14
14
-
};
15
15
-
16
6
self = {
17
17
-
platformio-core = python3Packages.callPackage ./core.nix { inherit version src; };
7
7
+
platformio-core = python3Packages.callPackage ./core.nix { };
18
8
19
9
platformio-chrootenv = callPackage ./chrootenv.nix { };
20
10
};