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

38 lines
885 B
Nix

{ lib
, nix-update-script
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "bitbake-language-server";
version = "0.0.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "Freed-Wu";
repo = pname;
rev = version;
hash = "sha256-FQKZtrzfjEkAIyzrJvI7qiB4gV2yAH9w1fwO6oLPhNc=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools-scm
setuptools-generate
];
propagatedBuildInputs = with python3.pkgs; [
oelint-parser
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 ];
};
}