2024-04-21 15:54:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, unstableGitUpdater
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wayfire
|
|
|
|
, libxkbcommon
|
|
|
|
, libGL
|
2024-09-19 14:19:46 +00:00
|
|
|
, libinput
|
|
|
|
, xcbutilwm
|
2024-04-21 15:54:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "wayfire-shadows";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0-unstable-2024-08-30";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timgott";
|
|
|
|
repo = "wayfire-shadows";
|
2024-09-19 14:19:46 +00:00
|
|
|
rev = "11c8ab63c1cde663a38502c6ecaeec980920c4d1";
|
|
|
|
hash = "sha256-/utqJevG7fn/kX81eDIN/SDvVa3rzNBe1crkHfMx8qo=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
wayfire
|
|
|
|
libxkbcommon
|
|
|
|
libGL
|
2024-09-19 14:19:46 +00:00
|
|
|
libinput
|
|
|
|
xcbutilwm
|
2024-04-21 15:54:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
env = {
|
|
|
|
PKG_CONFIG_WAYFIRE_METADATADIR = "${placeholder "out"}/share/wayfire/metadata";
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/timgott/wayfire-shadows";
|
|
|
|
description = "Wayfire plugin that adds window shadows";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ rewine ];
|
|
|
|
inherit (wayfire.meta) platforms;
|
|
|
|
};
|
|
|
|
})
|