mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
36 lines
835 B
Nix
36 lines
835 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
pname = "renode-dts2repl";
|
|
version = "0-unstable-2024-05-09";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "antmicro";
|
|
repo = "dts2repl";
|
|
rev = "b95c930c2122e227bbacee42f35933a4c2d40771";
|
|
hash = "sha256-Sax+ckln+R6ll/UPztESJEjO8dtq8THmi309CaFTv0I=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|