2023-10-19 13:55:26 +00:00
|
|
|
{ lib
|
|
|
|
, nix-update-script
|
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2024-01-13 08:15:51 +00:00
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "bitbake-language-server";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.0.7";
|
2023-10-19 13:55:26 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Freed-Wu";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-FQKZtrzfjEkAIyzrJvI7qiB4gV2yAH9w1fwO6oLPhNc=";
|
2023-10-19 13:55:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
|
|
setuptools-scm
|
2024-01-13 08:15:51 +00:00
|
|
|
setuptools-generate
|
2023-10-19 13:55:26 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2024-01-13 08:15:51 +00:00
|
|
|
oelint-parser
|
2023-10-19 13:55:26 +00:00
|
|
|
pygls
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Language server for bitbake";
|
|
|
|
homepage = "https://github.com/Freed-Wu/bitbake-language-server";
|
|
|
|
changelog = "https://github.com/Freed-Wu/bitbake-language-server/releases/tag/v${version}";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ otavio ];
|
|
|
|
};
|
|
|
|
}
|