nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 974 B view raw
1{ 2 lib, 3 nix-update-script, 4 python3, 5 oelint-adv, 6 fetchFromGitHub, 7}: 8 9python3.pkgs.buildPythonApplication rec { 10 pname = "bitbake-language-server"; 11 version = "0.0.16"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "Freed-Wu"; 16 repo = "bitbake-language-server"; 17 tag = version; 18 hash = "sha256-Huk5fpuN5bNtxH52UX2I86T5s82LXynZreZOGKFVq/w="; 19 }; 20 21 nativeBuildInputs = with python3.pkgs; [ 22 setuptools-scm 23 setuptools-generate 24 ]; 25 26 propagatedBuildInputs = 27 with python3.pkgs; 28 [ 29 pygls 30 ] 31 ++ [ oelint-adv ]; 32 33 passthru.updateScript = nix-update-script { }; 34 35 meta = { 36 description = "Language server for bitbake"; 37 mainProgram = "bitbake-language-server"; 38 homepage = "https://github.com/Freed-Wu/bitbake-language-server"; 39 changelog = "https://github.com/Freed-Wu/bitbake-language-server/releases/tag/${version}"; 40 license = lib.licenses.gpl3; 41 maintainers = [ lib.maintainers.otavio ]; 42 }; 43}