depot/pkgs/by-name/co/coc-css/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

43 lines
919 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
fetchYarnDeps,
yarnConfigHook,
yarnBuildHook,
yarnInstallHook,
nodejs,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "coc-css";
version = "2.1.0";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc-css";
rev = finalAttrs.version;
hash = "sha256-ASFg5LM1NbpK+Df1TPs+O13WmZktw+BtfsCJagF5nUc=";
};
yarnOfflineCache = fetchYarnDeps {
yarnLock = "${finalAttrs.src}/yarn.lock";
hash = "sha256-JJXpsccO9MZ0D15JUZtTebX1zUMgwGEzSOm7auw5pQo=";
};
nativeBuildInputs = [
yarnConfigHook
yarnBuildHook
nodejs
yarnInstallHook
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Css language server extension for coc.nvim";
homepage = "https://github.com/neoclide/coc-css";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
};
})