Merge pull request #113319 from AndersonTorres/new-wayland-misc
Wayland-related miscellany
This commit is contained in:
commit
6c5b20fcdf
@ -1,4 +1,9 @@
|
|||||||
{ buildGoModule, fetchFromGitHub, lib, wl-clipboard, makeWrapper }:
|
{ buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, lib
|
||||||
|
, wl-clipboard
|
||||||
|
, makeWrapper
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "clipman";
|
pname = "clipman";
|
||||||
@ -24,9 +29,9 @@ buildGoModule rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/yory8/clipman";
|
homepage = "https://github.com/yory8/clipman";
|
||||||
license = licenses.gpl3;
|
|
||||||
maintainers = with maintainers; [ ma27 ];
|
|
||||||
description = "A simple clipboard manager for Wayland";
|
description = "A simple clipboard manager for Wayland";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ ma27 ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,4 +1,12 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, scdoc, wayland }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, scdoc
|
||||||
|
, wayland
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "kanshi";
|
pname = "kanshi";
|
||||||
@ -15,6 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ wayland ];
|
buildInputs = [ wayland ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/emersion/kanshi";
|
||||||
description = "Dynamic display configuration tool";
|
description = "Dynamic display configuration tool";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
kanshi allows you to define output profiles that are automatically enabled
|
kanshi allows you to define output profiles that are automatically enabled
|
||||||
@ -24,8 +33,6 @@ stdenv.mkDerivation rec {
|
|||||||
kanshi can be used on Wayland compositors supporting the
|
kanshi can be used on Wayland compositors supporting the
|
||||||
wlr-output-management protocol.
|
wlr-output-management protocol.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/emersion/kanshi";
|
|
||||||
downloadPage = "https://github.com/emersion/kanshi";
|
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ balsoft ];
|
maintainers = with maintainers; [ balsoft ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
39
pkgs/tools/wayland/oguri/default.nix
Normal file
39
pkgs/tools/wayland/oguri/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, cairo
|
||||||
|
, gdk-pixbuf
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "oguri";
|
||||||
|
version = "unstable-2020-12-19";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "vilhalmer";
|
||||||
|
repo = pname;
|
||||||
|
rev = "6937fee10a9b0ef3ad8f94f606c0e0d9e7dec564";
|
||||||
|
sha256 = "sXNvpI/YPDPd2cXQAfRO4ut21gSCXxbo1DpaZmHJDYQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config meson ninja ];
|
||||||
|
buildInputs = [
|
||||||
|
cairo
|
||||||
|
gdk-pixbuf
|
||||||
|
wayland
|
||||||
|
wayland-protocols
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/vilhalmer/oguri/";
|
||||||
|
description = "A very nice animated wallpaper daemon for Wayland compositors";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -1,5 +1,13 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
|
{ lib
|
||||||
, cairo, libxkbcommon, wayland, wayland-protocols
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, cairo
|
||||||
|
, libxkbcommon
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
, buildDocs ? true, scdoc
|
, buildDocs ? true, scdoc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -33,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Select a region in a Wayland compositor";
|
description = "Select a region in a Wayland compositor";
|
||||||
homepage = "https://github.com/emersion/slurp";
|
homepage = "https://github.com/emersion/slurp";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
|
||||||
maintainers = with maintainers; [ buffet ];
|
maintainers = with maintainers; [ buffet ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,6 +1,11 @@
|
|||||||
{ lib, stdenv, fetchurl
|
{ lib
|
||||||
, pkg-config, scdoc, wayland
|
, stdenv
|
||||||
, wayland-protocols, libxkbcommon
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, scdoc
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
|
, libxkbcommon
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -18,14 +23,14 @@ stdenv.mkDerivation rec {
|
|||||||
installFlags = [ "PREFIX=$(out)" ];
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
homepage = "https://git.sr.ht/~sircmpwn/wev";
|
||||||
description = "Wayland event viewer";
|
description = "Wayland event viewer";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
This is a tool for debugging events on a Wayland window, analagous to the
|
This is a tool for debugging events on a Wayland window, analagous to the
|
||||||
X11 tool xev.
|
X11 tool xev.
|
||||||
'';
|
'';
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/wev";
|
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.unix;
|
|
||||||
maintainers = with maintainers; [ primeos ];
|
maintainers = with maintainers; [ primeos ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,5 +1,12 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
|
{ lib
|
||||||
, wayland, wayland-protocols }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wl-clipboard";
|
pname = "wl-clipboard";
|
||||||
@ -16,10 +23,11 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ wayland ];
|
buildInputs = [ wayland ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Command-line copy/paste utilities for Wayland";
|
|
||||||
homepage = "https://github.com/bugaevc/wl-clipboard";
|
homepage = "https://github.com/bugaevc/wl-clipboard";
|
||||||
license = licenses.gpl3;
|
description = "Command-line copy/paste utilities for Wayland";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ dywedir ];
|
maintainers = with maintainers; [ dywedir ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
# TODO: is wayland-protocols a nativeBuildInput or a buildInput?
|
54
pkgs/tools/wayland/wlogout/default.nix
Normal file
54
pkgs/tools/wayland/wlogout/default.nix
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, scdoc
|
||||||
|
, gtk3
|
||||||
|
, libxkbcommon
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "wlogout";
|
||||||
|
version = "1.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ArtsyMacaw";
|
||||||
|
repo = "wlogout";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "cTscfx+erHVFHwwYpN7pADQWt5sq75sQSyXSP/H8kOs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
|
||||||
|
buildInputs = [
|
||||||
|
gtk3
|
||||||
|
libxkbcommon
|
||||||
|
wayland
|
||||||
|
wayland-protocols
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace style.css \
|
||||||
|
--replace "/usr/share/wlogout" "$out/share/${pname}"
|
||||||
|
|
||||||
|
substituteInPlace main.c \
|
||||||
|
--replace "/etc/wlogout" "$out/etc/${pname}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"--datadir=${placeholder "out"}/share"
|
||||||
|
"--sysconfdir=${placeholder "out"}/etc"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/ArtsyMacaw/wlogout";
|
||||||
|
description = "A wayland based logout menu";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
# TODO: shell completions
|
@ -1,4 +1,11 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, cmake, pkg-config, wayland }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, wayland
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wlr-randr";
|
pname = "wlr-randr";
|
||||||
@ -11,13 +18,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-JeSxFXSFxcTwJz9EaLb18wtD4ZIT+ATeYM5OyDTJhDQ=";
|
sha256 = "sha256-JeSxFXSFxcTwJz9EaLb18wtD4ZIT+ATeYM5OyDTJhDQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja cmake pkg-config ];
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
buildInputs = [ wayland ];
|
buildInputs = [ wayland ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
license = licenses.mit;
|
|
||||||
description = "An xrandr clone for wlroots compositors";
|
description = "An xrandr clone for wlroots compositors";
|
||||||
homepage = "https://github.com/emersion/wlr-randr";
|
homepage = "https://github.com/emersion/wlr-randr";
|
||||||
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ ma27 ];
|
maintainers = with maintainers; [ ma27 ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,6 +1,13 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib
|
||||||
, meson, ninja, pkg-config, scdoc, wayland # wayland-scanner
|
, stdenv
|
||||||
, wayland-protocols, libseccomp
|
, fetchFromGitHub
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, scdoc
|
||||||
|
, libseccomp
|
||||||
|
, wayland # wayland-scanner
|
||||||
|
, wayland-protocols
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -21,15 +28,15 @@ stdenv.mkDerivation rec {
|
|||||||
mesonFlags = lib.optional stdenv.isLinux "-Dseccomp=enabled";
|
mesonFlags = lib.optional stdenv.isLinux "-Dseccomp=enabled";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
inherit (src.meta) homepage;
|
||||||
description = "A lightweight overlay bar for Wayland";
|
description = "A lightweight overlay bar for Wayland";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
A lightweight overlay volume/backlight/progress/anything bar for Wayland,
|
A lightweight overlay volume/backlight/progress/anything bar for Wayland,
|
||||||
inspired by xob.
|
inspired by xob.
|
||||||
'';
|
'';
|
||||||
inherit (src.meta) homepage;
|
|
||||||
changelog = "https://github.com/francma/wob/releases/tag/${version}";
|
changelog = "https://github.com/francma/wob/releases/tag/${version}";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
platforms = platforms.unix;
|
|
||||||
maintainers = with maintainers; [ primeos ];
|
maintainers = with maintainers; [ primeos ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1964,7 +1964,33 @@ in
|
|||||||
|
|
||||||
chntpw = callPackage ../tools/security/chntpw { };
|
chntpw = callPackage ../tools/security/chntpw { };
|
||||||
|
|
||||||
clipman = callPackage ../tools/misc/clipman { };
|
clipman = callPackage ../tools/wayland/clipman { };
|
||||||
|
|
||||||
|
kanshi = callPackage ../tools/wayland/kanshi { };
|
||||||
|
|
||||||
|
oguri = callPackage ../tools/wayland/oguri { };
|
||||||
|
|
||||||
|
slurp = callPackage ../tools/wayland/slurp { };
|
||||||
|
|
||||||
|
wayland-utils = callPackage ../tools/wayland/wayland-utils { };
|
||||||
|
|
||||||
|
wev = callPackage ../tools/wayland/wev { };
|
||||||
|
|
||||||
|
wl-clipboard = callPackage ../tools/wayland/wl-clipboard { };
|
||||||
|
|
||||||
|
wlogout = callPackage ../tools/wayland/wlogout { };
|
||||||
|
|
||||||
|
wlr-randr = callPackage ../tools/wayland/wlr-randr { };
|
||||||
|
|
||||||
|
wlsunset = callPackage ../tools/wayland/wlsunset { };
|
||||||
|
|
||||||
|
wob = callPackage ../tools/wayland/wob { };
|
||||||
|
|
||||||
|
wshowkeys = callPackage ../tools/wayland/wshowkeys { };
|
||||||
|
|
||||||
|
wtype = callPackage ../tools/wayland/wtype { };
|
||||||
|
|
||||||
|
ydotool = callPackage ../tools/wayland/ydotool { };
|
||||||
|
|
||||||
clipster = callPackage ../tools/misc/clipster { };
|
clipster = callPackage ../tools/misc/clipster { };
|
||||||
|
|
||||||
@ -3850,22 +3876,8 @@ in
|
|||||||
|
|
||||||
wallutils = callPackage ../tools/graphics/wallutils { };
|
wallutils = callPackage ../tools/graphics/wallutils { };
|
||||||
|
|
||||||
wayland-utils = callPackage ../tools/wayland/wayland-utils { };
|
|
||||||
|
|
||||||
wev = callPackage ../tools/misc/wev { };
|
|
||||||
|
|
||||||
wl-clipboard = callPackage ../tools/misc/wl-clipboard { };
|
|
||||||
|
|
||||||
wlsunset = callPackage ../tools/wayland/wlsunset { };
|
|
||||||
|
|
||||||
wob = callPackage ../tools/misc/wob { };
|
|
||||||
|
|
||||||
wtype = callPackage ../tools/wayland/wtype { };
|
|
||||||
|
|
||||||
wrangler = callPackage ../development/tools/wrangler { };
|
wrangler = callPackage ../development/tools/wrangler { };
|
||||||
|
|
||||||
wshowkeys = callPackage ../tools/wayland/wshowkeys { };
|
|
||||||
|
|
||||||
wsl-open = callPackage ../tools/misc/wsl-open { };
|
wsl-open = callPackage ../tools/misc/wsl-open { };
|
||||||
|
|
||||||
xkcdpass = with python3Packages; toPythonApplication xkcdpass;
|
xkcdpass = with python3Packages; toPythonApplication xkcdpass;
|
||||||
@ -17324,8 +17336,6 @@ in
|
|||||||
|
|
||||||
yder = callPackage ../development/libraries/yder { };
|
yder = callPackage ../development/libraries/yder { };
|
||||||
|
|
||||||
ydotool = callPackage ../tools/wayland/ydotool { };
|
|
||||||
|
|
||||||
yojimbo = callPackage ../development/libraries/yojimbo { };
|
yojimbo = callPackage ../development/libraries/yojimbo { };
|
||||||
|
|
||||||
yubioath-desktop = libsForQt5.callPackage ../applications/misc/yubioath-desktop { };
|
yubioath-desktop = libsForQt5.callPackage ../applications/misc/yubioath-desktop { };
|
||||||
@ -22831,8 +22841,6 @@ in
|
|||||||
|
|
||||||
super-productivity = callPackage ../applications/networking/super-productivity { };
|
super-productivity = callPackage ../applications/networking/super-productivity { };
|
||||||
|
|
||||||
wlr-randr = callPackage ../tools/misc/wlr-randr { };
|
|
||||||
|
|
||||||
wlroots = callPackage ../development/libraries/wlroots { };
|
wlroots = callPackage ../development/libraries/wlroots { };
|
||||||
|
|
||||||
sway-unwrapped = callPackage ../applications/window-managers/sway { };
|
sway-unwrapped = callPackage ../applications/window-managers/sway { };
|
||||||
@ -23139,8 +23147,6 @@ in
|
|||||||
|
|
||||||
kanboard = callPackage ../applications/misc/kanboard { };
|
kanboard = callPackage ../applications/misc/kanboard { };
|
||||||
|
|
||||||
kanshi = callPackage ../tools/misc/kanshi { };
|
|
||||||
|
|
||||||
kapitonov-plugins-pack = callPackage ../applications/audio/kapitonov-plugins-pack { };
|
kapitonov-plugins-pack = callPackage ../applications/audio/kapitonov-plugins-pack { };
|
||||||
|
|
||||||
kapow = libsForQt5.callPackage ../applications/misc/kapow { };
|
kapow = libsForQt5.callPackage ../applications/misc/kapow { };
|
||||||
@ -24842,8 +24848,6 @@ in
|
|||||||
|
|
||||||
slrn = callPackage ../applications/networking/newsreaders/slrn { };
|
slrn = callPackage ../applications/networking/newsreaders/slrn { };
|
||||||
|
|
||||||
slurp = callPackage ../tools/misc/slurp { };
|
|
||||||
|
|
||||||
sniproxy = callPackage ../applications/networking/sniproxy { };
|
sniproxy = callPackage ../applications/networking/sniproxy { };
|
||||||
|
|
||||||
sooperlooper = callPackage ../applications/audio/sooperlooper { };
|
sooperlooper = callPackage ../applications/audio/sooperlooper { };
|
||||||
|
Loading…
Reference in New Issue
Block a user