renode-dts2repl: init at unstable-2024-01-06
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication {
|
||||
pname = "renode-dts2repl";
|
||||
version = "unstable-2024-01-06";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "antmicro";
|
||||
repo = "dts2repl";
|
||||
rev = "0813251eb3c016fc7688c1e81981213d980fc5ab";
|
||||
hash = "sha256-2EePYirk3IKFaJSiWVebB9Moz6FYBEwymo32NYIyMtE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.setuptools
|
||||
python3.pkgs.wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dts2repl" ];
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A 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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user