Skip to content

Commit ce3c674

Browse files
committed
python3Packages.rcar_flash: init at 0.1.0
1 parent d2c4919 commit ce3c674

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
buildPythonApplication,
5+
setuptools,
6+
pyserial,
7+
pyyaml,
8+
pyftdi,
9+
}:
10+
11+
buildPythonApplication {
12+
pname = "rcar_flash";
13+
version = "0.1.0";
14+
format = "setuptools";
15+
16+
src = fetchFromGitHub {
17+
owner = "xen-troops";
18+
repo = "rcar_flash";
19+
rev = "f1de190c153926de67aced31884da13443737b88";
20+
sha256 = "sha256-qNRcMuxKNqzaARIXm3wz+GmwORTpxqeSTMBSp2JFJSU=";
21+
};
22+
23+
build-system = [
24+
setuptools
25+
];
26+
27+
dependencies = [
28+
pyserial
29+
pyyaml
30+
pyftdi
31+
];
32+
33+
# no tests implemented
34+
doCheck = false;
35+
36+
meta = {
37+
homepage = "https://github.com/xen-troops/rcar_flash";
38+
description = "Simple command line tool to automate writing IPLs (firmware) to Renesas RCAR-based boards.";
39+
mainProgram = "rcar_flash";
40+
license = lib.licenses.mit;
41+
maintainers = [ lib.maintainers.zatm8 ];
42+
};
43+
}

pkgs/top-level/all-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11710,6 +11710,8 @@ with pkgs;
1171011710
i3Support = true;
1171111711
};
1171211712

11713+
rcar_flash = python3Packages.callPackage ../applications/misc/rcar_flash { };
11714+
1171311715
scx = recurseIntoAttrs (callPackage ../os-specific/linux/scx { });
1171411716

1171511717
shogun = callPackage ../applications/science/machine-learning/shogun {

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16023,6 +16023,8 @@ self: super: with self; {
1602316023

1602416024
rbtools = callPackage ../development/python-modules/rbtools { };
1602516025

16026+
rcar_flash = callPackage ../applications/misc/rcar_flash { };
16027+
1602616028
rchitect = callPackage ../development/python-modules/rchitect { };
1602716029

1602816030
rclone-python = callPackage ../development/python-modules/rclone-python { };

0 commit comments

Comments
 (0)