Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions pkgs/applications/misc/rcar-flash/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
pyserial,
pyyaml,
pyftdi,
}:

buildPythonPackage {
pname = "rcar-flash";
version = "0.1.0-unstable-2025-07-18";
format = "setuptools";

src = fetchFromGitHub {
owner = "xen-troops";
repo = "rcar_flash";
rev = "f1de190c153926de67aced31884da13443737b88";
hash = "sha256-qNRcMuxKNqzaARIXm3wz+GmwORTpxqeSTMBSp2JFJSU=";
};

build-system = [
setuptools
];

dependencies = [
pyserial
pyyaml
pyftdi
];

# no tests implemented
doCheck = false;

pythonImportsCheck = [ "rcar_flash" ];

meta = {
homepage = "https://github.com/xen-troops/rcar_flash";
description = "Simple command line tool to automate writing IPLs (firmware) to Renesas RCAR-based boards";
mainProgram = "rcar_flash";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.zatm8 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16059,6 +16059,8 @@ self: super: with self; {

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

rcar-flash = callPackage ../applications/misc/rcar-flash { };

rchitect = callPackage ../development/python-modules/rchitect { };

rclone-python = callPackage ../development/python-modules/rclone-python { };
Expand Down
Loading