2024-03-29 19:46:11 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
hyprland,
|
|
|
|
fetchFromGitHub,
|
2024-03-29 20:20:05 +01:00
|
|
|
fetchpatch,
|
2024-03-29 19:46:11 +01:00
|
|
|
}:
|
|
|
|
|
2024-03-29 20:20:05 +01:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2024-03-29 19:46:11 +01:00
|
|
|
pname = "hycov";
|
2024-03-29 20:20:05 +01:00
|
|
|
version = "0.36.0.1";
|
2024-03-29 19:46:11 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2024-03-29 20:20:05 +01:00
|
|
|
owner = "DreamMaoMao";
|
2024-03-29 19:46:11 +01:00
|
|
|
repo = "hycov";
|
2024-03-29 20:20:05 +01:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-GHrgunfo+UARnf3OgNhdXoNFALRAmQEGhlZ8x5TBvkQ=";
|
2024-03-29 19:46:11 +01:00
|
|
|
};
|
|
|
|
|
2024-03-29 20:20:05 +01:00
|
|
|
patches = [
|
|
|
|
# Update method signatures for Hyprland 0.37.0+
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/Ayuei/hycov/commit/db6ea8a24f0a58fa69f86db49d7c853754b1b8e1.patch";
|
|
|
|
hash = "sha256-2FMHLmxuuBrui57d6kw6sfJJmtAV0vNF8sjFdaeIgf0=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2024-03-29 19:46:11 +01:00
|
|
|
inherit (hyprland) nativeBuildInputs;
|
|
|
|
|
|
|
|
buildInputs = [ hyprland ] ++ hyprland.buildInputs;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/Ayuei/hycov";
|
|
|
|
description = "Clients overview for hyprland plugin";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2024-03-29 20:20:05 +01:00
|
|
|
})
|