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 {
|
||||
pname = "clipman";
|
||||
@ -24,9 +29,9 @@ buildGoModule rec {
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/yory8/clipman";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
description = "A simple clipboard manager for Wayland";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
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 {
|
||||
pname = "kanshi";
|
||||
@ -15,6 +23,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ wayland ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/emersion/kanshi";
|
||||
description = "Dynamic display configuration tool";
|
||||
longDescription = ''
|
||||
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
|
||||
wlr-output-management protocol.
|
||||
'';
|
||||
homepage = "https://github.com/emersion/kanshi";
|
||||
downloadPage = "https://github.com/emersion/kanshi";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ balsoft ];
|
||||
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
|
||||
, cairo, libxkbcommon, wayland, wayland-protocols
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, cairo
|
||||
, libxkbcommon
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, buildDocs ? true, scdoc
|
||||
}:
|
||||
|
||||
@ -33,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Select a region in a Wayland compositor";
|
||||
homepage = "https://github.com/emersion/slurp";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ buffet ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -1,6 +1,11 @@
|
||||
{ lib, stdenv, fetchurl
|
||||
, pkg-config, scdoc, wayland
|
||||
, wayland-protocols, libxkbcommon
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, scdoc
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, libxkbcommon
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -18,14 +23,14 @@ stdenv.mkDerivation rec {
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://git.sr.ht/~sircmpwn/wev";
|
||||
description = "Wayland event viewer";
|
||||
longDescription = ''
|
||||
This is a tool for debugging events on a Wayland window, analagous to the
|
||||
X11 tool xev.
|
||||
'';
|
||||
homepage = "https://git.sr.ht/~sircmpwn/wev";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -1,5 +1,12 @@
|
||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
|
||||
, wayland, wayland-protocols }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wl-clipboard";
|
||||
@ -16,10 +23,11 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ wayland ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line copy/paste utilities for Wayland";
|
||||
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 ];
|
||||
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 {
|
||||
pname = "wlr-randr";
|
||||
@ -11,13 +18,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-JeSxFXSFxcTwJz9EaLb18wtD4ZIT+ATeYM5OyDTJhDQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja cmake pkg-config ];
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
buildInputs = [ wayland ];
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.mit;
|
||||
description = "An xrandr clone for wlroots compositors";
|
||||
homepage = "https://github.com/emersion/wlr-randr";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -1,6 +1,13 @@
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, meson, ninja, pkg-config, scdoc, wayland # wayland-scanner
|
||||
, wayland-protocols, libseccomp
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, scdoc
|
||||
, libseccomp
|
||||
, wayland # wayland-scanner
|
||||
, wayland-protocols
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -21,15 +28,15 @@ stdenv.mkDerivation rec {
|
||||
mesonFlags = lib.optional stdenv.isLinux "-Dseccomp=enabled";
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "A lightweight overlay bar for Wayland";
|
||||
longDescription = ''
|
||||
A lightweight overlay volume/backlight/progress/anything bar for Wayland,
|
||||
inspired by xob.
|
||||
'';
|
||||
inherit (src.meta) homepage;
|
||||
changelog = "https://github.com/francma/wob/releases/tag/${version}";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -1964,7 +1964,33 @@ in
|
||||
|
||||
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 { };
|
||||
|
||||
@ -3850,22 +3876,8 @@ in
|
||||
|
||||
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 { };
|
||||
|
||||
wshowkeys = callPackage ../tools/wayland/wshowkeys { };
|
||||
|
||||
wsl-open = callPackage ../tools/misc/wsl-open { };
|
||||
|
||||
xkcdpass = with python3Packages; toPythonApplication xkcdpass;
|
||||
@ -17324,8 +17336,6 @@ in
|
||||
|
||||
yder = callPackage ../development/libraries/yder { };
|
||||
|
||||
ydotool = callPackage ../tools/wayland/ydotool { };
|
||||
|
||||
yojimbo = callPackage ../development/libraries/yojimbo { };
|
||||
|
||||
yubioath-desktop = libsForQt5.callPackage ../applications/misc/yubioath-desktop { };
|
||||
@ -22831,8 +22841,6 @@ in
|
||||
|
||||
super-productivity = callPackage ../applications/networking/super-productivity { };
|
||||
|
||||
wlr-randr = callPackage ../tools/misc/wlr-randr { };
|
||||
|
||||
wlroots = callPackage ../development/libraries/wlroots { };
|
||||
|
||||
sway-unwrapped = callPackage ../applications/window-managers/sway { };
|
||||
@ -23139,8 +23147,6 @@ in
|
||||
|
||||
kanboard = callPackage ../applications/misc/kanboard { };
|
||||
|
||||
kanshi = callPackage ../tools/misc/kanshi { };
|
||||
|
||||
kapitonov-plugins-pack = callPackage ../applications/audio/kapitonov-plugins-pack { };
|
||||
|
||||
kapow = libsForQt5.callPackage ../applications/misc/kapow { };
|
||||
@ -24842,8 +24848,6 @@ in
|
||||
|
||||
slrn = callPackage ../applications/networking/newsreaders/slrn { };
|
||||
|
||||
slurp = callPackage ../tools/misc/slurp { };
|
||||
|
||||
sniproxy = callPackage ../applications/networking/sniproxy { };
|
||||
|
||||
sooperlooper = callPackage ../applications/audio/sooperlooper { };
|
||||
|
Loading…
Reference in New Issue
Block a user