depot/third_party/nixpkgs/pkgs/by-name/re/renode-dts2repl/package.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

35 lines
833 B
Nix

{ lib
, python3
, fetchFromGitHub
, unstableGitUpdater
}:
python3.pkgs.buildPythonApplication {
pname = "renode-dts2repl";
version = "unstable-2024-01-09";
pyproject = true;
src = fetchFromGitHub {
owner = "antmicro";
repo = "dts2repl";
rev = "429ebc65e0bcbd967ccfe1f9a970abd5b5b6258f";
hash = "sha256-/62KAVIMCM6VNhW4rDqnKXOFrAO0cHpybGS3lconCqY=";
};
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";
};
}