Skip to content

Commit d2c4696

Browse files
windowtolayer: init at 0-unstable-2025-01-26
1 parent ad4f3bc commit d2c4696

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitLab,
5+
python3,
6+
unstableGitUpdater,
7+
rustfmt,
8+
}:
9+
rustPlatform.buildRustPackage {
10+
pname = "windowtolayer";
11+
version = "0-unstable-2025-01-26";
12+
13+
src = fetchFromGitLab {
14+
domain = "gitlab.freedesktop.org";
15+
owner = "mstoeckl";
16+
repo = "windowtolayer";
17+
rev = "5ddb3a2834c834af4ec412bb2ba2c77431953d51";
18+
hash = "sha256-PzKx8lkWDJGVj1Azc/vfbSPYV7x5+ZnCGMAAK4o207Y=";
19+
};
20+
21+
cargoHash = "sha256-XuSlbBLWUkPsA0DYC4qemvAGyynkkuznA5FGBKRmNso=";
22+
useFetchCargoVendor = true;
23+
24+
nativeBuildInputs = [
25+
python3
26+
rustfmt
27+
];
28+
29+
passthru.updateScript = unstableGitUpdater {
30+
url = "https://gitlab.freedesktop.org/mstoeckl/windowtolayer.git";
31+
};
32+
33+
meta = {
34+
description = "Display existing Wayland applications as a wallpaper instead";
35+
homepage = "https://gitlab.freedesktop.org/mstoeckl/windowtolayer";
36+
mainProgram = "windowtolayer";
37+
license = lib.licenses.gpl3Plus;
38+
maintainers = with lib.maintainers; [ anomalocaris ];
39+
};
40+
}

0 commit comments

Comments
 (0)