depot/third_party/nixpkgs/pkgs/by-name/re/renode-dts2repl/package.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
835 B
Nix

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