blob: 92bf643dc4219f3bc3c6eb4afd8ed013cbc39d25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib
, python3
, fetchFromGitHub
, unstableGitUpdater
}:
python3.pkgs.buildPythonApplication {
pname = "renode-dts2repl";
version = "0-unstable-2024-06-11";
pyproject = true;
src = fetchFromGitHub {
owner = "antmicro";
repo = "dts2repl";
rev = "7360c07d2ef1e32661a0efa04323e799d400a58e";
hash = "sha256-lN3IgLOAeMexWG5zQB9RxRld7Snl3aqNJt3fZV5hdnM=";
};
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";
};
}
|