mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-05 20:43:28 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
36 lines
833 B
Nix
36 lines
833 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
pname = "renode-dts2repl";
|
|
version = "0-unstable-2024-06-03";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "antmicro";
|
|
repo = "dts2repl";
|
|
rev = "f3a5ca54a6642c7e8e539bc5e62e676a4c6aa2a1";
|
|
hash = "sha256-fi/ihHXCFFNhEPO9EcdxTmNun96TbvXUup3V5lbxN0g=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|