depot/third_party/nixpkgs/pkgs/by-name/wl/wljoywake/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

48 lines
822 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, udev
, wayland
, wayland-protocols
, wayland-scanner
}:
let
version = "0.3";
in
stdenv.mkDerivation {
pname = "wljoywake";
inherit version;
src = fetchFromGitHub {
repo = "wljoywake";
owner = "nowrep";
rev = "v${version}";
hash = "sha256-zSYNfsFjswaSXZPlIDMDC87NK/6AKtArHBeWCWDDR3E=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
buildInputs = [
udev
wayland
wayland-protocols
];
meta = with lib; {
description = "Wayland tool for idle inhibit when using joysticks";
homepage = "https://github.com/nowrep/wljoywake";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.jtrees ];
mainProgram = "wljoywake";
};
}