Skip to content

Commit

Permalink
windowtolayer: init at 0-unstable-2025-01-26
Browse files Browse the repository at this point in the history
  • Loading branch information
Anomalocaridid committed Feb 13, 2025
1 parent ad4f3bc commit d2c4696
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/by-name/wi/windowtolayer/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
rustPlatform,
fetchFromGitLab,
python3,
unstableGitUpdater,
rustfmt,
}:
rustPlatform.buildRustPackage {
pname = "windowtolayer";
version = "0-unstable-2025-01-26";

src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "mstoeckl";
repo = "windowtolayer";
rev = "5ddb3a2834c834af4ec412bb2ba2c77431953d51";
hash = "sha256-PzKx8lkWDJGVj1Azc/vfbSPYV7x5+ZnCGMAAK4o207Y=";
};

cargoHash = "sha256-XuSlbBLWUkPsA0DYC4qemvAGyynkkuznA5FGBKRmNso=";
useFetchCargoVendor = true;

nativeBuildInputs = [
python3
rustfmt
];

passthru.updateScript = unstableGitUpdater {
url = "https://gitlab.freedesktop.org/mstoeckl/windowtolayer.git";
};

meta = {
description = "Display existing Wayland applications as a wallpaper instead";
homepage = "https://gitlab.freedesktop.org/mstoeckl/windowtolayer";
mainProgram = "windowtolayer";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ anomalocaris ];
};
}

0 comments on commit d2c4696

Please sign in to comment.