treewide: with stdenv.lib; in meta -> with lib;

Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
This commit is contained in:
Profpatsch
2021-01-11 10:38:22 +01:00
parent e87aef06e0
commit 4a7f99d55d
6869 changed files with 13585 additions and 13580 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, patches
{ lib, stdenv, fetchFromGitHub, patches
, libxcb, xcbutilkeysyms, xcbutilwm
, libX11, xcbutil, xcbutilxrm }:
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
installPhase = "make install DESTDIR=$out PREFIX=\"\"";
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/venam/2bwm";
description = "A fast floating WM written over the XCB library and derived from mcwm";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig
{ lib, stdenv, fetchurl, pkgconfig
, libjpeg, libtiff, libpng, freetype
, fltk, gtk
, libX11, libXext, libICE
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config dbus-1 --cflags)"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A NEXTStep-inspired window manager";
longDescription = ''
AfterStep is a window manager for the Unix X Window
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, luaPackages, cairo, librsvg, cmake, imagemagick, pkgconfig, gdk-pixbuf
{ lib, stdenv, fetchFromGitHub, luaPackages, cairo, librsvg, cmake, imagemagick, pkgconfig, gdk-pixbuf
, xorg, libstartup_notification, libxdg_basedir, libpthreadstubs
, xcb-util-cursor, makeWrapper, pango, gobject-introspection
, which, dbus, nettools, git, doxygen
@@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
inherit lua;
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Highly configurable, dynamic window manager for X";
homepage = "https://awesomewm.org/";
license = licenses.gpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, libX11
, libXext
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
FREETYPEINC="${freetype.dev}/include/freetype2" )
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A healthy, bite-sized window manager";
longDescription = ''
berry is a healthy, bite-sized window manager written in C for unix
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, libX11, libXrandr, libXft }:
{ lib, stdenv, fetchFromGitHub, libX11, libXrandr, libXft }:
stdenv.mkDerivation rec {
pname = "bevelbar";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
installFlags = [ "prefix=$(out)" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "An X11 status bar with fancy schmancy 1985-ish beveled borders";
inherit (src.meta) homepage;
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, libxcb, libXinerama
{ lib, stdenv, fetchFromGitHub, libxcb, libXinerama
, xcbutil, xcbutilkeysyms, xcbutilwm
}:
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A tiling window manager based on binary space partitioning";
homepage = "https://github.com/baskerville/bspwm";
maintainers = with maintainers; [ meisternu epitrochoid rvolosatovs ];
@@ -1,5 +1,5 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
{ stdenv, buildGoPackage, fetchgit }:
{ lib, stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
pname = "btops";
@@ -15,7 +15,7 @@ buildGoPackage rec {
goDeps = ./deps.nix;
meta = with stdenv.lib; {
meta = with lib; {
description = "bspwm desktop management that supports dymanic appending, removing, and renaming";
homepage = "https://github.com/cmschuetz/btops";
maintainers = with maintainers; [ mnacamura ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkg-config, wayland, scdoc, makeWrapper
, wlroots, wayland-protocols, pixman, libxkbcommon
, systemd, libGL, libX11
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
# Tests Cage using the NixOS module by launching xterm:
passthru.tests.basic-nixos-module-functionality = nixosTests.cage;
meta = with stdenv.lib; {
meta = with lib; {
description = "A Wayland kiosk that runs a single, maximized application";
homepage = "https://www.hjdskes.nl/projects/cage/";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkg-config, wayland, scdoc, makeWrapper
, wlroots, wayland-protocols, pixman, libxkbcommon
, cairo , pango, fontconfig, pandoc, systemd
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
passthru.tests.basic = nixosTests.cagebreak;
meta = with stdenv.lib; {
meta = with lib; {
description = "A Wayland tiling compositor inspired by ratpoison";
homepage = "https://github.com/project-repo/cagebreak";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, autoconf, sbcl, lispPackages, xdpyinfo, texinfo4
{ lib, stdenv, fetchgit, autoconf, sbcl, lispPackages, xdpyinfo, texinfo4
, makeWrapper }:
stdenv.mkDerivation {
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
echo ${xdpyinfo} ${lispPackages.clx} ${lispPackages.cl-ppcre} > $out/nix-support/depends
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A(nother) Common Lisp FullScreen Window Manager";
homepage = "https://common-lisp.net/project/clfswm/";
license = licenses.gpl3;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkgconfig }:
{ lib, stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkgconfig }:
stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A lightweight and efficient window manager for X11";
homepage = "https://github.com/leahneukirchen/cwm";
maintainers = with maintainers; [ _0x4A6F mkf ];
@@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
wrapProgram $out/bin/dwm-status --prefix "PATH" : "${stdenv.lib.makeBinPath bins}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Highly performant and configurable DWM status service";
homepage = "https://github.com/Gerschtli/dwm-status";
license = with licenses; [ mit ];
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, libX11, libXinerama, libXft, patches ? [], conf ? null }:
{ lib, stdenv, fetchgit, libX11, libXinerama, libXft, patches ? [], conf ? null }:
let
name = "dwm-git-20180602";
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
buildPhase = "make";
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://suckless.org/";
description = "Dynamic window manager for X, development version";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libX11, libXext, libXrandr, libXrender,
{ lib, stdenv, fetchurl, libX11, libXext, libXrandr, libXrender,
xorgproto, patches ? [] }:
stdenv.mkDerivation rec {
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
# Allow users set their own list of patches
inherit patches;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.6809.org.uk/evilwm/";
description = "Minimalist window manager for the X Window System";
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig
{ lib, stdenv, fetchurl, pkgconfig
, libX11, libXmu, libXpm, gtk2, libpng, libjpeg, libtiff, librsvg, gdk-pixbuf, gdk-pixbuf-xlib
}:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS="-lX11";
meta = with stdenv.lib; {
meta = with lib; {
description = "A stand-alone panel";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
@@ -1,4 +1,4 @@
{ stdenv, fetchzip,
{ lib, stdenv, fetchzip,
pkgconfig, bmake,
cairo, glib, libevdev, libinput, libxkbcommon, linux-pam, pango, pixman,
libucl, wayland, wayland-protocols, wlroots,
@@ -65,7 +65,7 @@ stdenv.mkDerivation {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Stacking Wayland compositor which is actively developed on FreeBSD but also supports Linux";
homepage = "https://hikari.acmelabs.space";
license = licenses.bsd2;
@@ -1,4 +1,4 @@
{ fetchFromGitHub, stdenv, perl, makeWrapper
{ fetchFromGitHub, lib, stdenv, perl, makeWrapper
, iproute, acpi, sysstat, alsaUtils
, scripts ? [ "bandwidth" "battery" "cpu_usage" "disk" "iface"
"load_average" "memory" "volume" "wifi" ]
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
--prefix PATH : ${makeBinPath (optional (elem "volume" scripts) alsaUtils)}
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A flexible scheduler for your i3bar blocks -- this is a fork to use with i3-gaps";
homepage = "https://github.com/Airblader/i3blocks-gaps";
license = licenses.gpl3;
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, which, pkgconfig, makeWrapper, installShellFiles, libxcb, xcbutilkeysyms
{ fetchurl, lib, stdenv, which, pkgconfig, makeWrapper, installShellFiles, libxcb, xcbutilkeysyms
, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification, libX11, pcre, libev
, yajl, xcb-util-cursor, perl, pango, perlPackages, libxkbcommon
, xorgserver, xvfb_run }:
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
separateDebugInfo = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "A tiling window manager";
homepage = "https://i3wm.org";
maintainers = with maintainers; [ modulistic fpletz globin ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, xorgproto, libxcb, xcbutilkeysyms
{ lib, stdenv, fetchFromGitHub, pkgconfig, xorgproto, libxcb, xcbutilkeysyms
, xorg , i3ipc-glib , glib
}:
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
cp i3-easyfocus $out/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Focus and select windows in i3";
homepage = "https://github.com/cornerman/i3-easyfocus";
maintainers = with maintainers; [teto];
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, i3, autoreconfHook }:
{ fetchurl, lib, stdenv, i3, autoreconfHook }:
i3.overrideAttrs (oldAttrs : rec {
@@ -15,7 +15,7 @@ i3.overrideAttrs (oldAttrs : rec {
# fatal error: GENERATED_config_enums.h: No such file or directory
enableParallelBuilding = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "A fork of the i3 tiling window manager with some additional features";
homepage = "https://github.com/Airblader/i3";
maintainers = with maintainers; [ fmthoma ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, xorgproto, libxcb
{ lib, stdenv, fetchFromGitHub, pkgconfig, xorgproto, libxcb
, autoreconfHook, json-glib, gtk-doc, which
, gobject-introspection
}:
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
gtkdocize
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A C interface library to i3wm";
homepage = "https://github.com/acrisci/i3ipc-glib";
maintainers = with maintainers; [teto];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, vim, makeWrapper, jq, rofi, xrandr, xdotool, i3, gawk, libnotify }:
{ lib, stdenv, fetchFromGitHub, vim, makeWrapper, jq, rofi, xrandr, xdotool, i3, gawk, libnotify }:
let
path = stdenv.lib.makeBinPath [ vim jq rofi xrandr xdotool i3 gawk libnotify ];
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/klaxalk/i3-layout-manager";
description = "Saving, loading and managing layouts for i3wm";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libxcb,
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libxcb,
xcbutilkeysyms , xcbutilimage, pam, libX11, libev, cairo, libxkbcommon,
libxkbfile, libjpeg_turbo, xcbutilxrm
}:
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
mv $out/share/man/man1/i3lock.1 $out/share/man/man1/i3lock-color.1
sed -i 's/\(^\|\s\|"\)i3lock\(\s\|$\)/\1i3lock-color\2/g' $out/share/man/man1/i3lock-color.1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A simple screen locker like slock, enhanced version with extra configuration options";
longDescription = ''
Simple screen locker. After locking, a colored background (default: white) or
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, xorg, i3lock }:
{ lib, stdenv, fetchFromGitHub, xorg, i3lock }:
stdenv.mkDerivation rec {
pname = "i3lock-fancy-rapid";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
install -D i3lock-fancy-rapid $out/bin/i3lock-fancy-rapid
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A faster implementation of i3lock-fancy";
homepage = "https://github.com/yvbbrjdr/i3lock-fancy-rapid";
maintainers = with maintainers; [ nickhu ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, coreutils, scrot, imagemagick, gawk
{ lib, stdenv, fetchFromGitHub, coreutils, scrot, imagemagick, gawk
, i3lock-color, getopt, fontconfig
}:
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
cp i3lock-fancy $out/bin/i3lock-fancy
cp icons/lock*.png $out/share/i3lock-fancy/icons
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "i3lock is a bash script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text";
homepage = "https://github.com/meskarune/i3lock-fancy";
maintainers = with maintainers; [ ];
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutilimage,
{ fetchurl, lib, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutilimage,
xcbutilxrm, pam, libX11, libev, cairo, libxkbcommon, libxkbfile }:
stdenv.mkDerivation rec {
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
cp *.1 $out/share/man/man1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A simple screen locker like slock";
longDescription = ''
Simple screen locker. After locking, a colored background (default: white) or
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, libpulseaudio
, libnotify
@@ -45,7 +45,7 @@ python3Packages.buildPythonApplication rec {
# no tests in tarball
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/enkore/i3pystatus";
description = "A complete replacement for i3status";
longDescription = ''
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, rustPlatform
, fetchFromGitHub
, pkgconfig
@@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec {
# Currently no tests are implemented, so we avoid building the package twice
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "Very resource-friendly and feature-rich replacement for i3status";
homepage = "https://github.com/greshake/i3status-rust";
license = licenses.gpl3;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3Packages }:
{ lib, stdenv, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "i3-wk-switch";
@@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
cp i3-wk-switch.py "$out/bin/i3-wk-switch"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "XMonad-like workspace switching for i3 and sway";
maintainers = with maintainers; [ synthetica ];
platforms = platforms.linux;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform
{ lib, stdenv, fetchFromGitHub, rustPlatform
, xorg, python3, pkgconfig, cairo, libxkbcommon }:
rustPlatform.buildRustPackage rec {
@@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
# users.
cargoBuildFlags = [ "--features i3" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Visually focus windows by label";
homepage = "https://github.com/svenstaro/wmfocus";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, cmake
, pkg-config
@@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A simple, lightweight X window manager";
longDescription = ''
IceWM is a window manager for the X Window System. The goal of IceWM is
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, libXpm, libGL, fltk, hicolor-icon-theme, glib, gnome2, which }:
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, libXpm, libGL, fltk, hicolor-icon-theme, glib, gnome2, which }:
stdenv.mkDerivation {
pname = "jwm-settings-manager";
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
--replace 'DESTINATION usr/share' "DESTINATION share"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A full configuration manager for JWM";
homepage = "https://joewing.net/projects/jwm";
license = licenses.gpl3;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, libX11, libXinerama, makeWrapper }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, libX11, libXinerama, makeWrapper }:
let
rpath = stdenv.lib.makeLibraryPath [ libXinerama libX11 ];
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
wrapProgram $out/bin/leftwm-worker --prefix LD_LIBRARY_PATH : "${rpath}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A tiling window manager for the adventurer";
homepage = "https://github.com/leftwm/leftwm";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, libxcb }:
{ lib, stdenv, fetchurl, perl, libxcb }:
stdenv.mkDerivation {
name = "lemonbar-1.4";
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A lightweight xcb based bar";
homepage = "https://github.com/LemonBoy/bar";
maintainers = [ maintainers.meisternu ];
@@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ lib, stdenv, fetchurl
, imake, libX11, libSM, libXext, libICE }:
stdenv.mkDerivation rec {
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
install -m644 lwm.man $out/share/man/man1/lwm.1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Lightweight Window Manager";
longDescription = ''
lwm is a window manager for X that tries to keep out of your face. There
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, asciidoc
, docbook_xml_dtd_45
@@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
"#define MAX_PATH_LENGTH 128"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/DelusionalLogic/NeoComp";
license = licenses.gpl3;
maintainers = with maintainers; [ twey ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig
{ lib, stdenv, fetchFromGitHub, pkgconfig
, lua, gettext, which, groff, xmessage, xterm
, readline, fontconfig, libX11, libXext, libSM
, libXinerama, libXrandr, libXft
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
--prefix PATH ":" "${xmessage}/bin:${xterm}/bin" \
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Tiling tabbed window manager";
homepage = "https://notionwm.net";
license = licenses.lgpl21;
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, pkg-config
, cmake
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
libpng
];
meta = with stdenv.lib; {
meta = with lib; {
description = "A lightweight window manager";
longDescription = ''
pekwm is a window manager that once upon a time was based on the
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python37Packages, glib, cairo, pango, pkgconfig, libxcb, xcbutilcursor }:
{ lib, stdenv, fetchFromGitHub, python37Packages, glib, cairo, pango, pkgconfig, libxcb, xcbutilcursor }:
let cairocffi-xcffib = python37Packages.cairocffi.override {
withXcffib = true;
@@ -56,7 +56,7 @@ python37Packages.buildPythonApplication rec {
doCheck = false; # Requires X server #TODO this can be worked out with the existing NixOS testing infrastructure.
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.qtile.org/";
license = licenses.mit;
description = "A small, flexible, scriptable tiling window manager written in Python";
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, perl, autoconf, automake
{ lib, stdenv, fetchurl, pkgconfig, perl, autoconf, automake
, libX11, xorgproto, libXt, libXpm, libXft, libXtst, libXi
, libXrandr, fontconfig, freetype, readline
}:
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
mv $out/share/ratpoison $contrib/share
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.nongnu.org/ratpoison/";
description = "Simple mouse-free tiling window manager";
license = licenses.gpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, pkg-config
, which
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
done
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "An extensible, Lisp-based window manager";
longDescription = ''
Sawfish is an extensible window manager using a Lisp-based scripting language.
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, xorg }:
{ lib, stdenv, fetchFromGitHub, pkgconfig, xorg }:
stdenv.mkDerivation {
pname = "spectrwm";
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A tiling window manager";
homepage = "https://github.com/conformal/spectrwm";
maintainers = with maintainers; [ christianharke ];
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libX11, xorgproto }:
{ lib, stdenv, fetchurl, libX11, xorgproto }:
stdenv.mkDerivation rec {
pname = "stalonetray";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Stand alone tray";
homepage = "http://stalonetray.sourceforge.net";
license = licenses.gpl2;
@@ -1,4 +1,4 @@
{ stdenv, substituteAll, fetchFromGitHub, gnused, ncurses, xorg, rlwrap }:
{ lib, stdenv, substituteAll, fetchFromGitHub, gnused, ncurses, xorg, rlwrap }:
stdenv.mkDerivation {
pname = "stumpish";
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
cp util/stumpish/stumpish $out/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/stumpwm/stumpwm-contrib";
description = "STUMPwm Interactive SHell";
license = licenses.gpl2;
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, autoconf, sbcl, lispPackages, xdpyinfo, texinfo4
{ lib, stdenv, fetchgit, autoconf, sbcl, lispPackages, xdpyinfo, texinfo4
, makeWrapper , rlwrap, gnused, gnugrep, coreutils, xprop
, extraModulePaths ? []
, version }:
@@ -93,7 +93,7 @@ stdenv.mkDerivation {
inherit sbcl lispPackages contrib;
};
meta = with stdenv.lib; {
meta = with lib; {
description = "A tiling window manager for X11";
homepage = "https://github.com/stumpwm/";
license = licenses.gpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, scdoc
, wayland, wayland-protocols, cairo, gdk-pixbuf
}:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
"-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Wallpaper tool for Wayland compositors";
longDescription = ''
A wallpaper utility for Wayland compositors, that is compatible with any
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, coreutils
@@ -55,7 +55,7 @@ grimshot = stdenv.mkDerivation rec {
fi
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A helper for screenshots within sway";
homepage = "https://github.com/swaywm/sway/tree/master/contrib";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper
{ lib, stdenv, fetchFromGitHub, makeWrapper
, meson, ninja, pkg-config, wayland, scdoc
, libxkbcommon, pcre, json_c, dbus, libevdev
, pango, cairo, libinput, libcap, pam, gdk-pixbuf, librsvg
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
"-Ddefault-wallpaper=false"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "An i3-compatible tiling Wayland compositor";
longDescription = ''
Sway is a tiling Wayland compositor and a drop-in replacement for the i3
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, scdoc
, wayland, wayland-protocols, systemd
}:
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
mesonFlags = [ "-Dman-pages=enabled" "-Dlogind=enabled" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Idle management daemon for Wayland";
longDescription = ''
Sway's idle management daemon. It is compatible with any Wayland
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub,
{ lib, stdenv, fetchFromGitHub,
meson, ninja, pkgconfig, scdoc,
wayland, wayland-protocols, libxkbcommon,
cairo, gdk-pixbuf, pam
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
"-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Screen locker for Wayland";
longDescription = ''
Swaylock, with fancy effects
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, coreutils, grim, gawk, swaylock
{ lib, stdenv, fetchFromGitHub, coreutils, grim, gawk, swaylock
, imagemagick, getopt, fontconfig, makeWrapper
}:
@@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
--prefix PATH : "${depsPath}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "This is an swaylock bash script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text";
homepage = "https://github.com/Big-B/swaylock-fancy";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, scdoc
, wayland, wayland-protocols, libxkbcommon, cairo, gdk-pixbuf, pam
}:
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
"-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Screen locker for Wayland";
longDescription = ''
swaylock is a screen locking utility for Wayland compositors.
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, asciidoc, libxcb, xcbutil, xcbutilkeysyms
{ lib, stdenv, fetchFromGitHub, asciidoc, libxcb, xcbutil, xcbutilkeysyms
, xcbutilwm
}:
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Simple X hotkey daemon";
homepage = "https://github.com/baskerville/sxhkd";
license = licenses.bsd2;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, gdk-pixbuf, gtk2 }:
{ lib, stdenv, fetchFromGitHub, pkgconfig, gdk-pixbuf, gtk2 }:
stdenv.mkDerivation rec {
name = "trayer-1.1.8";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/sargon/trayer-srg";
license = licenses.mit;
description = "A lightweight GTK2-based systray for UNIX desktop";
@@ -1,4 +1,4 @@
{stdenv, fetchurl, ncurses, pkgconfig, glib, libviper, libpseudo, gpm,
{lib, stdenv, fetchurl, ncurses, pkgconfig, glib, libviper, libpseudo, gpm,
libvterm}:
stdenv.mkDerivation rec {
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses glib libviper libpseudo gpm libvterm ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://vwm.sourceforge.net/";
description = "Dynamic window manager for the console";
license = licenses.gpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, libxcb, libXrandr
{ lib, stdenv, fetchFromGitHub, libxcb, libXrandr
, xcbutil, xcbutilkeysyms, xcbutilwm, xcbproto
}:
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A stacking window manager that cooks windows with orders from the Waitron";
homepage = "https://github.com/tudurom/windowchef";
maintainers = with maintainers; [ bhougland ];
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig
{ lib, stdenv, fetchurl, pkgconfig
, libX11, libXext, libXft, libXmu, libXinerama, libXrandr, libXpm
, imagemagick, libpng, libjpeg, libexif, libtiff, libungif, libwebp }:
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
"--disable-magick" # Many distros reported imagemagick fails to be found
];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://windowmaker.org/";
description = "NeXTSTEP-like window manager";
longDescription = ''
@@ -1,4 +1,4 @@
{ stdenv, dockapps-sources, pkg-config, libX11, libXpm, libXext, alsaLib }:
{ lib, stdenv, dockapps-sources, pkg-config, libX11, libXpm, libXext, alsaLib }:
stdenv.mkDerivation rec {
pname = "AlsaMixer.app";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
ln -s ${placeholder "out"}/bin/AlsaMixer.app ${placeholder "out"}/bin/AlsaMixer
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Alsa mixer application for Windowmaker";
homepage = "https://www.dockapps.net/alsamixerapp";
license = licenses.gpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv, dockapps-sources, autoreconfHook, pkg-config
{ lib, stdenv, dockapps-sources, autoreconfHook, pkg-config
, libX11, libXext, libXpm, mkfontdir, fontutil }:
stdenv.mkDerivation rec {
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
"--with-font=no"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "A library providing a framework for dockapps";
homepage = "https://www.dockapps.net/libdockapp";
license = licenses.gpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv, dockapps-sources
{ lib, stdenv, dockapps-sources
, libX11, libXpm, libXext }:
stdenv.mkDerivation rec {
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
installFlags = [ "DESTDIR=${placeholder "out"}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A Calendar clock with antialiased text";
homepage = "https://www.dockapps.net/wmcalclock";
license = licenses.gpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv, dockapps-sources
{ lib, stdenv, dockapps-sources
, libX11
, libXpm
, libXext
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
installFlags = [ "PREFIX=${placeholder "out"}/bin" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "System monitor for Windowmaker";
homepage = "https://www.dockapps.net/wmsmapp";
license = licenses.gpl2;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libX11, libXpm, libXext, libXfixes, libXmu }:
{ lib, stdenv, fetchurl, pkgconfig, libX11, libXpm, libXext, libXfixes, libXmu }:
stdenv.mkDerivation rec {
pname = "wmsystemtray";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 libXpm libXext libXfixes libXmu ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A system tray for Windowmaker";
homepage = "http://wmsystemtray.sourceforge.net";
license = licenses.gpl2Only;
@@ -1,4 +1,4 @@
{ stdenv, fetchgit
{ lib, stdenv, fetchgit
, meson
, ninja
, pkg-config
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
--prefix PATH ":" "${stdenv.lib.makeBinPath [ alacritty cage ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "That Plan 9 feel, for Wayland";
longDescription = ''
Wio is a Wayland compositor for Linux and FreeBSD which has a similar look
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gnumake,
{ lib, stdenv, fetchFromGitHub, gnumake,
libX11, libXinerama, libXrandr, libXpm, libXft, imlib2 }:
stdenv.mkDerivation {
pname = "wmfs";
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
"MANPREFIX=${placeholder "out"}/share/man"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Window manager from scratch";
license = licenses.bsd2;
maintainers = [ maintainers.balsoft ];
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, glib, dbus-glib
{ lib, stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, glib, dbus-glib
, desktopSupport ? "gnomeflashback", xorg
, gtk2
, gtk3, gnome3, mate
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
# --define-variable=prefix=$prefix
PKG_CONFIG_LIBXFCE4PANEL_1_0_LIBDIR = "$(out)/lib";
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/kalj/xmonad-log-applet";
license = licenses.bsd3;
broken = desktopSupport == "gnomeflashback";
@@ -45,7 +45,7 @@ stdenv.mkDerivation {
}
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A modern and lightweight status bar for X window managers";
homepage = "https://github.com/geommer/yabar";
license = licenses.mit;