mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-24 22:58:38 +01:00
chore: Cleanup hycov package
Note that the new hyprlandPlugins.mkHyprlandPlugin does not appear to work here, which is why it wasn't used.
This commit is contained in:
parent
aa6c01f9eb
commit
647746b8bc
@ -3,19 +3,28 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
hyprland,
|
hyprland,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "hycov";
|
pname = "hycov";
|
||||||
version = "0.1";
|
version = "0.36.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Ayuei";
|
owner = "DreamMaoMao";
|
||||||
repo = "hycov";
|
repo = "hycov";
|
||||||
rev = "db6ea8a24f0a58fa69f86db49d7c853754b1b8e1";
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-fSujEAViKqQusHyYe7Qg8QnLlyUNOf0/Jk1P70BmiyE=";
|
hash = "sha256-GHrgunfo+UARnf3OgNhdXoNFALRAmQEGhlZ8x5TBvkQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Update method signatures for Hyprland 0.37.0+
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/Ayuei/hycov/commit/db6ea8a24f0a58fa69f86db49d7c853754b1b8e1.patch";
|
||||||
|
hash = "sha256-2FMHLmxuuBrui57d6kw6sfJJmtAV0vNF8sjFdaeIgf0=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
inherit (hyprland) nativeBuildInputs;
|
inherit (hyprland) nativeBuildInputs;
|
||||||
|
|
||||||
buildInputs = [ hyprland ] ++ hyprland.buildInputs;
|
buildInputs = [ hyprland ] ++ hyprland.buildInputs;
|
||||||
@ -26,4 +35,4 @@ stdenv.mkDerivation {
|
|||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user