wljoywake: init at 0.3
This commit is contained in:
parent
e4a70f57ad
commit
a36cc50ac8
48
pkgs/by-name/wl/wljoywake/package.nix
Normal file
48
pkgs/by-name/wl/wljoywake/package.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user