Compare commits
1 commit
main
...
fix-correc
Author | SHA1 | Date | |
---|---|---|---|
d560869c62 |
1 changed files with 3 additions and 15 deletions
|
@ -1,11 +1,10 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
|
||||||
hyprland,
|
hyprland,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
cmake,
|
cmake,
|
||||||
unstableGitUpdater,
|
version,
|
||||||
...
|
src,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
mkHyprlandPlugin =
|
mkHyprlandPlugin =
|
||||||
|
@ -27,29 +26,18 @@ let
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
mkHyprlandPlugin hyprland {
|
mkHyprlandPlugin hyprland {
|
||||||
|
inherit version src;
|
||||||
pluginName = "hyprscroller";
|
pluginName = "hyprscroller";
|
||||||
version = "0-unstable-2025-05-16";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "cpiber";
|
|
||||||
repo = "hyprscroller";
|
|
||||||
rev = "de97924b6d1086d84939b6f6688637f7b21d8d80";
|
|
||||||
hash = "sha256-m9689UH+w8Z/qP/DKYtzQfIGfiE4jgBAfO+uH34cfNs=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
mv hyprscroller.so $out/lib/libhyprscroller.so
|
mv hyprscroller.so $out/lib/libhyprscroller.so
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = unstableGitUpdater { };
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/cpiber/hyprscroller";
|
homepage = "https://github.com/cpiber/hyprscroller";
|
||||||
description = "Hyprland layout plugin providing a scrolling layout like PaperWM";
|
description = "Hyprland layout plugin providing a scrolling layout like PaperWM";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue