summaryrefslogtreecommitdiff
path: root/pkgs/swhkd.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-04-17 19:37:35 -0400
committerseth <[email protected]>2023-04-17 19:37:35 -0400
commit76817703bb1cf925e6f99a2ba8ad78d2ec560b6e (patch)
treedae7d85267d6cf6d52440d5376b151b80edbee17 /pkgs/swhkd.nix
parent5c5cb3b928ab4a4bd5fd3886fb40cb109d713347 (diff)
feat(flake)!: use less inputs
Diffstat (limited to 'pkgs/swhkd.nix')
-rw-r--r--pkgs/swhkd.nix37
1 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/swhkd.nix b/pkgs/swhkd.nix
deleted file mode 100644
index f4c35cc..0000000
--- a/pkgs/swhkd.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- lib,
- callPackage,
- fetchFromGitHub,
- naersk,
- polkit,
- xorg,
-}: let
- version = "1.2.1";
- package = (callPackage naersk {}).buildPackage {
- buildInputs = [
- polkit
- xorg.xf86inputevdev
- ];
- src = fetchFromGitHub {
- owner = "waycrate";
- repo = "swhkd";
- rev = version;
- sha256 = "sha256-VQW01j2RxhLUx59LAopZEdA7TyZBsJrF1Ym3LumvFqA=";
- };
- };
-in
- package
- // (let
- inherit (lib) licenses maintainers platforms;
- in {
- meta =
- package.meta
- // {
- description = "Sxhkd clone for Wayland";
- longDescription = "a display protocol-independent hotkey daemon made in Rust";
- homepage = "https://github.com/waycrate/swhkd";
- license = licenses.bsd2;
- maintainers = with maintainers; [getchoo];
- platforms = platforms.linux;
- };
- })