Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 27 lines 635 B view raw
1{ 2 lib, 3 buildNpmPackage, 4 fetchFromGitHub, 5}: 6 7buildNpmPackage { 8 pname = "coc-clangd"; 9 version = "0.31.0"; 10 11 src = fetchFromGitHub { 12 owner = "clangd"; 13 repo = "coc-clangd"; 14 # Upstream has no tagged versions 15 rev = "3a85a36f1ac08454deab1ed8d2553e0cae00cc1c"; 16 hash = "sha256-uxK0nciLq4ZKFCoMJrO4dR0tuOBHYpgdZUc/KJ+JA/I="; 17 }; 18 19 npmDepsHash = "sha256-93MEug2eEL/Hum+RFmXx0JYO6jUygF8QRmL5nTTFyrs="; 20 21 meta = { 22 description = "clangd extension for coc.nvim"; 23 homepage = "https://github.com/clangd/coc-clangd"; 24 license = lib.licenses.asl20; 25 maintainers = with lib.maintainers; [ pyrox0 ]; 26 }; 27}