2024-01-08 15:17:15 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
|
|
pname = "renode-dts2repl";
|
2024-06-21 19:41:19 +00:00
|
|
|
version = "0-unstable-2024-06-21";
|
2024-01-08 15:17:15 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "antmicro";
|
|
|
|
repo = "dts2repl";
|
2024-06-21 19:41:19 +00:00
|
|
|
rev = "57a24220c5be33b2974c885bbe2f680c3799f3ce";
|
|
|
|
hash = "sha256-0KmJujGcsElzsVU0tsXtXLzh3oL8wBwai8gtxUu02H0=";
|
2024-01-08 15:17:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
python3.pkgs.setuptools
|
|
|
|
python3.pkgs.wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "dts2repl" ];
|
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Tool for converting device tree sources into Renode's .repl files";
|
2024-01-08 15:17:15 +00:00
|
|
|
homepage = "https://github.com/antmicro/dts2repl";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ otavio ];
|
|
|
|
mainProgram = "dts2repl";
|
|
|
|
};
|
|
|
|
}
|