packages: Add hycov (again)

Might be able to upstream hycov into nixpkgs now that plugin support
exists.
This commit is contained in:
Donovan Glover 2024-07-07 20:11:02 -04:00
parent c9b79ccfb2
commit 19fd97003c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

29
packages/hycov.nix Normal file
View File

@ -0,0 +1,29 @@
{ lib
, stdenv
, hyprland
, fetchFromGitHub
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hycov";
version = "0.41.2.1";
src = fetchFromGitHub {
owner = "DreamMaoMao";
repo = "hycov";
rev = finalAttrs.version;
hash = "sha256-NRnxbkuiq1rQ+uauo7D+CEe73iGqxsWxTQa+1SEPnXQ=";
};
inherit (hyprland) nativeBuildInputs;
buildInputs = [ hyprland ] ++ hyprland.buildInputs;
meta = {
description = "Clients overview for hyprland plugin";
homepage = "https://github.com/DreamMaoMao/hycov";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ donovanglover ];
platforms = lib.platforms.linux;
};
})