swaycwd: use new buildNimPackage

This commit is contained in:
Emery Hemingway 2023-10-31 16:02:43 +00:00
parent 48840e1762
commit 29b302705b
2 changed files with 6 additions and 7 deletions

View File

@ -1,16 +1,17 @@
{ lib
, nimPackages
, buildNimPackage
, fetchFromGitLab
, enableShells ? [ "bash" "zsh" "fish" "sh" "posh" "codium" ]
}:
nimPackages.buildNimPackage rec{
buildNimPackage (finalAttrs: {
pname = "swaycwd";
version = "0.2.1";
src = fetchFromGitLab {
owner = "cab404";
repo = pname;
rev = "v${version}";
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
hash = "sha256-R/LnojbA0vBQVivGLaoM0+M4qVJ7vjf4kggB59i896w=";
};
@ -31,4 +32,4 @@ nimPackages.buildNimPackage rec{
license = licenses.gpl3Only;
mainProgram = "swaycwd";
};
}
})

View File

@ -4795,8 +4795,6 @@ with pkgs;
swaykbdd = callPackage ../tools/wayland/swaykbdd { };
swaycwd = callPackage ../tools/wayland/swaycwd { };
swayr = callPackage ../tools/wayland/swayr { };
swayrbar = callPackage ../tools/wayland/swayrbar { };