treewide: stdenv.lib -> lib
This commit is contained in:
@@ -50,12 +50,12 @@ stdenv.mkDerivation rec {
|
||||
xorg.xcbutil xorg.xcbutilimage xorg.xcbutilkeysyms
|
||||
xorg.xcbutilrenderutil xorg.xcbutilwm libxkbcommon
|
||||
xcbutilxrm ]
|
||||
++ stdenv.lib.optional gtk3Support gtk3;
|
||||
++ lib.optional gtk3Support gtk3;
|
||||
|
||||
cmakeFlags = [
|
||||
#"-DGENERATE_MANPAGES=ON"
|
||||
"-DOVERRIDE_VERSION=${version}"
|
||||
] ++ stdenv.lib.optional luaPackages.isLuaJIT "-DLUA_LIBRARY=${lua}/lib/libluajit-5.1.so"
|
||||
] ++ lib.optional luaPackages.isLuaJIT "-DLUA_LIBRARY=${lua}/lib/libluajit-5.1.so"
|
||||
;
|
||||
|
||||
GI_TYPELIB_PATH = "${pango.out}/lib/girepository-1.0";
|
||||
|
||||
@@ -24,8 +24,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A tiling window manager based on binary space partitioning (git version)";
|
||||
homepage = "https://github.com/baskerville/bspwm";
|
||||
maintainers = [ stdenv.lib.maintainers.meisternu stdenv.lib.maintainers.epitrochoid ];
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.meisternu lib.maintainers.epitrochoid ];
|
||||
license = lib.licenses.bsd2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,9 +29,9 @@ stdenv.mkDerivation rec {
|
||||
systemd libGL libX11
|
||||
];
|
||||
|
||||
mesonFlags = [ "-Dxwayland=${stdenv.lib.boolToString (xwayland != null)}" ];
|
||||
mesonFlags = [ "-Dxwayland=${lib.boolToString (xwayland != null)}" ];
|
||||
|
||||
postFixup = stdenv.lib.optionalString (xwayland != null) ''
|
||||
postFixup = lib.optionalString (xwayland != null) ''
|
||||
wrapProgram $out/bin/cage --prefix PATH : "${xwayland}/bin"
|
||||
'';
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "contrib" ];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dxwayland=${stdenv.lib.boolToString withXwayland}"
|
||||
"-Dxwayland=${lib.boolToString withXwayland}"
|
||||
"-Dversion_override=${version}"
|
||||
];
|
||||
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
cp $src/examples/config $contrib/share/cagebreak/config
|
||||
'';
|
||||
|
||||
postFixup = stdenv.lib.optionalString withXwayland ''
|
||||
postFixup = lib.optionalString withXwayland ''
|
||||
wrapProgram $out/bin/cagebreak --prefix PATH : "${xwayland}/bin"
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [], conf ? null}:
|
||||
{lib, stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [], conf ? null}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
name = "dwm-6.2";
|
||||
@@ -27,8 +27,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "https://suckless.org/";
|
||||
description = "Dynamic window manager for X";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoSha256 = "041sd9zm1c3v6iihnwjcya2xg5yxb2y4biyxpjlfblz2srxa15dm";
|
||||
|
||||
postInstall = lib.optionalString (bins != []) ''
|
||||
wrapProgram $out/bin/dwm-status --prefix "PATH" : "${stdenv.lib.makeBinPath bins}"
|
||||
wrapProgram $out/bin/dwm-status --prefix "PATH" : "${lib.makeBinPath bins}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
|
||||
inherit patches;
|
||||
|
||||
# Allow users to override the entire config file AFTER appying the patches
|
||||
postPatch = stdenv.lib.optionalString (conf!=null) ''
|
||||
postPatch = lib.optionalString (conf!=null) ''
|
||||
echo -n '${conf}' > config.def.h
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libX11, libXft, libXinerama, libXpm }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, libX11, libXft, libXinerama, libXpm }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dzen2-0.9.5";
|
||||
@@ -30,8 +30,8 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/robm/dzen";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
description = "X notification utility";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
{ lib, stdenv, fetchurl, pkgconfig
|
||||
, freetype, fribidi
|
||||
, libXext, libXft, libXpm, libXrandr, libXrender, xorgproto
|
||||
, libXinerama
|
||||
, imlib2 }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "fluxbox";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace util/fluxbox-generate_menu.in \
|
||||
--subst-var-by PREFIX "$out"
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Full-featured, light-resource X window manager";
|
||||
longDescription = ''
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ gestures ? false
|
||||
, stdenv, fetchurl, pkgconfig
|
||||
, lib, stdenv, fetchurl, pkgconfig
|
||||
, cairo, fontconfig, freetype, libXft, libXcursor, libXinerama
|
||||
, libXpm, libXt, librsvg, libpng, fribidi, perl
|
||||
, libstroke ? null
|
||||
@@ -21,13 +21,13 @@ stdenv.mkDerivation rec {
|
||||
cairo fontconfig freetype
|
||||
libXft libXcursor libXinerama libXpm libXt
|
||||
librsvg libpng fribidi perl
|
||||
] ++ stdenv.lib.optional gestures libstroke;
|
||||
] ++ lib.optional gestures libstroke;
|
||||
|
||||
meta = {
|
||||
homepage = "http://fvwm.org";
|
||||
description = "A multiple large virtual desktop window manager";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ edanaher ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ edanaher ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, pkgconfig, glib, libX11, libXext, libXinerama, libXrandr
|
||||
{ lib, stdenv, fetchurl, cmake, pkgconfig, glib, libX11, libXext, libXinerama, libXrandr
|
||||
, withDoc ? stdenv.buildPlatform == stdenv.targetPlatform, asciidoc ? null }:
|
||||
|
||||
# Doc generation is disabled by default when cross compiling because asciidoc
|
||||
@@ -17,19 +17,19 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
] ++ stdenv.lib.optionals withDoc [
|
||||
] ++ lib.optionals withDoc [
|
||||
"doc"
|
||||
"man"
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_INSTALL_SYSCONF_PREFIX=${placeholder "out"}/etc"
|
||||
] ++ stdenv.lib.optional (!withDoc) "-DWITH_DOCUMENTATION=OFF";
|
||||
] ++ lib.optional (!withDoc) "-DWITH_DOCUMENTATION=OFF";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
] ++ stdenv.lib.optional withDoc asciidoc;
|
||||
] ++ lib.optional withDoc asciidoc;
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A manual tiling window manager for X";
|
||||
homepage = "https://herbstluftwm.org/";
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.bsd2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Must replace GNU Make by bmake
|
||||
buildPhase = with stdenv.lib; concatStringsSep " " (
|
||||
buildPhase = with lib; concatStringsSep " " (
|
||||
[ "bmake" "-j$NIX_BUILD_CORES" "PREFIX=$out" ]
|
||||
++ optional stdenv.isLinux "WITH_POSIX_C_SOURCE=YES"
|
||||
++ mapAttrsToList (feat: enabled:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"load_average" "memory" "volume" "wifi" ]
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
perlscripts = [ "battery" "cpu_usage" "openvpn" "temperature" ];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ fetchFromGitHub, fetchpatch, stdenv, autoreconfHook, pkg-config }:
|
||||
{ fetchFromGitHub, fetchpatch, lib, stdenv, autoreconfHook, pkg-config }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "i3blocks";
|
||||
|
||||
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
# https://github.com/NixOS/nixpkgs/issues/7957
|
||||
doCheck = false; # stdenv.hostPlatform.system == "x86_64-linux";
|
||||
|
||||
checkPhase = stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux")
|
||||
checkPhase = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux")
|
||||
''
|
||||
(cd testcases && xvfb-run ./complete-run.pl -p 1 --keep-xserver-output)
|
||||
! grep -q '^not ok' testcases/latest/complete-run.log
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ 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 ];
|
||||
path = lib.makeBinPath [ vim jq rofi xrandr xdotool i3 gawk libnotify ];
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -29,7 +29,7 @@ python3Packages.buildPythonApplication rec {
|
||||
makeWrapperArgs = [
|
||||
# LC_TIME != C results in locale.Error: unsupported locale setting
|
||||
"--set" "LC_TIME" "C"
|
||||
"--suffix" "LD_LIBRARY_PATH" ":" "${stdenv.lib.makeLibraryPath [ libpulseaudio ]}"
|
||||
"--suffix" "LD_LIBRARY_PATH" ":" "${lib.makeLibraryPath [ libpulseaudio ]}"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }:
|
||||
{ fetchurl, lib, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "i3status-2.13";
|
||||
@@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
|
||||
description = "Generates a status line for i3bar, dzen2, xmobar or lemonbar";
|
||||
homepage = "https://i3wm.org";
|
||||
maintainers = [ ];
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }:
|
||||
{ lib, stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ion-3-20090110";
|
||||
meta = {
|
||||
description = "Tiling tabbed window manager designed with keyboard users in mind";
|
||||
homepage = "http://modeemi.fi/~tuomov/ion";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
platforms = with lib.platforms; linux;
|
||||
license = lib.licenses.lgpl21;
|
||||
};
|
||||
src = fetchurl {
|
||||
url = "http://tuomov.iki.fi/software/dl/ion-3-20090110.tar.gz";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, automake, autoconf, libtool, gettext
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig, automake, autoconf, libtool, gettext
|
||||
, which, xorg, libX11, libXext, libXinerama, libXpm, libXft, libXau, libXdmcp
|
||||
, libXmu, libpng, libjpeg, expat, xorgproto, librsvg, freetype, fontconfig }:
|
||||
|
||||
@@ -43,8 +43,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://joewing.net/projects/jwm/";
|
||||
description = "Joe's Window Manager is a light-weight X11 window manager";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, dbus-glib, autoreconfHook, xorg }:
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig, dbus-glib, autoreconfHook, xorg }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "kbdd";
|
||||
@@ -17,8 +17,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Simple daemon and library to make per window layout using XKB";
|
||||
homepage = "https://github.com/qnikst/kbdd";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.wedens ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.wedens ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, imake, gccmakedep, libX11, libXext, libXmu }:
|
||||
{ lib, stdenv, fetchurl, imake, gccmakedep, libX11, libXext, libXmu }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "larswm-7.5.3";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://www.fnurt.net/larswm";
|
||||
description = "9wm-like tiling window manager";
|
||||
license = stdenv.lib.licenses.free;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.free;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, libX11, libXinerama, makeWrapper }:
|
||||
|
||||
let
|
||||
rpath = stdenv.lib.makeLibraryPath [ libXinerama libX11 ];
|
||||
rpath = lib.makeLibraryPath [ libXinerama libX11 ];
|
||||
in
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, perl, libxcb, libXft }:
|
||||
{ lib, stdenv, fetchFromGitHub, perl, libxcb, libXft }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "lemonbar-xft-unstable-2016-02-17";
|
||||
@@ -18,6 +18,6 @@ stdenv.mkDerivation {
|
||||
description = "A lightweight xcb based bar with XFT-support";
|
||||
homepage = "https://github.com/krypt-n/bar";
|
||||
license = "Custom";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libmatchbox, libX11, libXext }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, libmatchbox, libX11, libXext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "matchbox";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "X window manager for non-desktop embedded systems";
|
||||
homepage = "https://www.yoctoproject.org/software-item/matchbox/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, python3
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, pkgconfig, python3
|
||||
, libxml2, libXinerama, libXcursor, libXau, libXrandr, libICE, libSM
|
||||
, imlib2, pango, libstartup_notification, makeWrapper }:
|
||||
|
||||
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "X window manager for non-desktop embedded systems";
|
||||
homepage = "http://openbox.org/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
{ lib, stdenv, fetchurl, pkgconfig
|
||||
, freetype, fribidi
|
||||
, libSM, libICE, libXt, libXaw, libXmu
|
||||
, libXext, libXft, libXpm, libXrandr
|
||||
, libXrender, xorgproto, libXinerama }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "oroborus";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, doxygen, graphviz, libX11, libXrandr }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
cp -r README.markdown doc/html doc/latex $out/share/doc/${pname}-${version}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib;{
|
||||
meta = with lib;{
|
||||
description = "A small X window manager, extended from tinywm";
|
||||
homepage = "https://github.com/adamnew123456/SmallWM";
|
||||
license = licenses.bsd2;
|
||||
|
||||
@@ -73,7 +73,7 @@ stdenv.mkDerivation {
|
||||
|
||||
mkdir -p $out/share/stumpwm/modules
|
||||
cp -r modules/* $out/share/stumpwm/modules/
|
||||
for d in ${stdenv.lib.concatStringsSep " " extraModulePaths}; do
|
||||
for d in ${lib.concatStringsSep " " extraModulePaths}; do
|
||||
cp -r --no-preserve=mode "$d" $out/share/stumpwm/modules/
|
||||
done
|
||||
|
||||
@@ -81,7 +81,7 @@ stdenv.mkDerivation {
|
||||
cp $out/share/stumpwm/modules/util/stumpish/stumpish $out/bin/
|
||||
chmod +x $out/bin/stumpish
|
||||
wrapProgram $out/bin/stumpish \
|
||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ rlwrap gnused gnugrep coreutils xprop ]}"
|
||||
--prefix PATH ":" "${lib.makeBinPath [ rlwrap gnused gnugrep coreutils xprop ]}"
|
||||
|
||||
# Paths in the compressed image $out/bin/stumpwm are not
|
||||
# recognized by Nix. Add explicit reference here.
|
||||
|
||||
@@ -34,7 +34,7 @@ grimshot = stdenv.mkDerivation rec {
|
||||
|
||||
install -Dm 0755 contrib/grimshot $out/bin/grimshot
|
||||
wrapProgram $out/bin/grimshot --set PATH \
|
||||
"${stdenv.lib.makeBinPath [
|
||||
"${lib.makeBinPath [
|
||||
sway-unwrapped
|
||||
wl-clipboard
|
||||
coreutils
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
depsPath = stdenv.lib.makeBinPath [
|
||||
depsPath = lib.makeBinPath [
|
||||
coreutils
|
||||
grim
|
||||
gawk
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{stdenv, fetchgit, xorgproto, libX11, libXft, customConfig ? null, patches ? [] }:
|
||||
{lib, stdenv, fetchgit, xorgproto, libX11, libXft, customConfig ? null, patches ? [] }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tabbed-20180310";
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||
|
||||
inherit patches;
|
||||
|
||||
postPatch = stdenv.lib.optionalString (customConfig != null) ''
|
||||
postPatch = lib.optionalString (customConfig != null) ''
|
||||
cp ${builtins.toFile "config.h" customConfig} ./config.h
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, ghcWithPackages, makeWrapper, packages ? (x: []) }:
|
||||
{ lib, stdenv, ghcWithPackages, makeWrapper, packages ? (x: []) }:
|
||||
|
||||
let
|
||||
taffybarEnv = ghcWithPackages (self: [ self.taffybar ] ++ packages self);
|
||||
@@ -14,7 +14,7 @@ in stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
install -m644 annotated.c README -t $out/share/doc/${pname}-${version}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib;{
|
||||
meta = with lib;{
|
||||
description = "A tiny window manger for X11";
|
||||
longDescription = ''
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, meson, ninja, pkg-config, wayland
|
||||
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, wayland
|
||||
, libGL, mesa, libxkbcommon, cairo, libxcb
|
||||
, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput, libevdev
|
||||
, colord, lcms2, pipewire ? null
|
||||
@@ -7,7 +7,7 @@
|
||||
# beware of null defaults, as the parameters *are* supplied by callPackage by default
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "weston";
|
||||
version = "9.0.0";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
{ lib, stdenv, fetchurl, pkgconfig
|
||||
, libX11, libXext, libXft }:
|
||||
|
||||
let version = "1.40"; in
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
sed "s|/usr/local|$out|g" Makefile.orig >> Makefile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib;
|
||||
meta = with lib;
|
||||
{ description = "Small and simple stacking window manager";
|
||||
homepage = "http://nickgravgaard.com/windowlab/";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/wio \
|
||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ alacritty cage ]}"
|
||||
--prefix PATH ":" "${lib.makeBinPath [ alacritty cage ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip, pkgconfig, libixp_hg, txt2tags, dash, python, which
|
||||
{ lib, stdenv, fetchurl, unzip, pkgconfig, libixp_hg, txt2tags, dash, python, which
|
||||
, libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -39,9 +39,9 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://suckless.org/"; # https://wmii.suckless.org/ does not exist anymore
|
||||
description = "A small window manager controlled by a 9P filesystem";
|
||||
maintainers = with stdenv.lib.maintainers; [ kovirobi ];
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ kovirobi ];
|
||||
license = lib.licenses.mit;
|
||||
inherit version;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ glib dbus-glib xorg.xcbutilwm ]
|
||||
++ stdenv.lib.optionals (desktopSupport == "gnomeflashback") [ gtk3 gnome3.gnome-panel ]
|
||||
++ stdenv.lib.optionals (desktopSupport == "mate") [ gtk3 mate.mate-panel ]
|
||||
++ stdenv.lib.optionals (desktopSupport == "xfce4") [ gtk2 libxfce4util xfce4-panel ]
|
||||
++ lib.optionals (desktopSupport == "gnomeflashback") [ gtk3 gnome3.gnome-panel ]
|
||||
++ lib.optionals (desktopSupport == "mate") [ gtk3 mate.mate-panel ]
|
||||
++ lib.optionals (desktopSupport == "xfce4") [ gtk2 libxfce4util xfce4-panel ]
|
||||
;
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, lesstif
|
||||
, libX11, libXext, libXmu, libXinerama }:
|
||||
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
install -m644 yeahwm.1.gz ${placeholder "out"}/share/man/man1/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib;{
|
||||
meta = with lib;{
|
||||
description = "An X window manager based on evilwm and aewm";
|
||||
longDescription = ''
|
||||
YeahWM is a h* window manager for X based on evilwm and aewm.
|
||||
|
||||
Reference in New Issue
Block a user