555cd8a8f9
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
35 lines
833 B
Nix
35 lines
833 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
pname = "renode-dts2repl";
|
|
version = "0-unstable-2024-10-09";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "antmicro";
|
|
repo = "dts2repl";
|
|
rev = "ada6afd90cc36ef3114ba81c057e48bfaa9b70e3";
|
|
hash = "sha256-8f1Vg1rRsavyX+7D8w6JZ0y0PWnYWXuETBPEd5aBKtA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
python3.pkgs.setuptools
|
|
python3.pkgs.wheel
|
|
];
|
|
|
|
pythonImportsCheck = [ "dts2repl" ];
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "Tool for converting device tree sources into Renode's .repl files";
|
|
homepage = "https://github.com/antmicro/dts2repl";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ otavio ];
|
|
mainProgram = "dts2repl";
|
|
};
|
|
}
|