depot/third_party/nixpkgs/pkgs/by-name/re/renode-dts2repl/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

35 lines
833 B
Nix

{ lib
, python3
, fetchFromGitHub
, unstableGitUpdater
}:
python3.pkgs.buildPythonApplication {
pname = "renode-dts2repl";
version = "0-unstable-2024-07-10";
pyproject = true;
src = fetchFromGitHub {
owner = "antmicro";
repo = "dts2repl";
rev = "e0a92f4225c7e94de288c6774763562fa46b2ad6";
hash = "sha256-cqIZwzxhzdYIXEMo2tRUIQa6mmv3HbKzgQoFhUHL8vc=";
};
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";
};
}