mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #260021 from tomfitzhenry/wayidle
wayidle: init at 0.1.1
This commit is contained in:
commit
e0c8b6f719
27
pkgs/by-name/wa/wayidle/package.nix
Normal file
27
pkgs/by-name/wa/wayidle/package.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromSourcehut
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wayidle";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~whynothugo";
|
||||
repo = "wayidle";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6wULrwGnXLdrX/THanJThbykKjNKpGukw9dj0jX0/dM=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-zF2s3XSXnN7jVtv/0axzHiIJd/cb6wMYAOQILXp1U5U=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Execute a program when a Wayland compositor reports being N seconds idle";
|
||||
homepage = "https://git.sr.ht/~whynothugo/wayidle";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ tomfitzhenry ];
|
||||
mainProgram = "wayidle";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user