pkgs: add scls && bump spotify player

This commit is contained in:
notohh 2024-05-27 12:06:50 -04:00
parent 2df5c203d5
commit 1c70c24f7b
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 28 additions and 3 deletions

View file

@ -7,17 +7,17 @@
(final: prev: { (final: prev: {
spotify-player = prev.spotify-player.overrideAttrs (old: rec { spotify-player = prev.spotify-player.overrideAttrs (old: rec {
pname = "spotify-player"; pname = "spotify-player";
version = "0.18.1"; version = "0.18.2";
src = prev.fetchFromGitHub { src = prev.fetchFromGitHub {
owner = "aome510"; owner = "aome510";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-3nPESnBWaxWjWMvRG7gbXt8FzuPlx2soOonCKom+tzA="; hash = "sha256-bLUPQgqSsE9tF5YiFj5B+Ylyy96DhWFNjwqXbQ9H8uc=";
}; };
cargoDeps = old.cargoDeps.overrideAttrs (lib.const { cargoDeps = old.cargoDeps.overrideAttrs (lib.const {
name = "spotify-player.tar.gz"; name = "spotify-player.tar.gz";
inherit src; inherit src;
outputHash = "sha256-fzFWSPRPWYSiBzbW7OWODahckuzFahdt09V5WKC3Pmo="; outputHash = "sha256-sBhQuU0HpyXOEUtKPZxoNxSp1d5nxuifcYCW7cCOgJI=";
}); });
}); });
}) })

25
pkgs/scls/default.nix Normal file
View file

@ -0,0 +1,25 @@
{
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage {
pname = "simple-completion-language-server";
version = "0.1.0";
src = fetchFromGitHub {
owner = "estin";
repo = "simple-completion-language-server";
rev = "3edd6209fffd204d689fb3b0afb0e51ad90f0af2";
hash = "sha256-iccwhZhwYLxjhCLj8kRLqlL1F9TjZ57BogqlbKgCsKM=";
};
cargoHash = "sha256-nxLnlBfqcA64npPccuE00JxCLGi4eU9nWyU0PSVdKpE=";
doCheck = false;
meta = {
description = "Language server to enable word completion and snippets for Helix editor";
homepage = "https://github.com/estin/simple-completion-language-server";
mainProgram = "simple-completion-language-server";
};
}