depot/third_party/nixpkgs/pkgs/by-name/re/renode-dts2repl/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

35 lines
833 B
Nix

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