treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
./lxappearance-0.6.3-xdg.system.data.dirs.patch
];
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
configureFlags = lib.optional withGtk3 "--enable-gtk3";
meta = with lib; {
description = "Lightweight program for configuring the theme and fonts of gtk applications";
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, intltool }:
{ lib, stdenv, fetchurl, intltool }:
stdenv.mkDerivation rec {
pname = "lxmenu-data";
@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://lxde.org/";
license = stdenv.lib.licenses.gpl2;
license = lib.licenses.gpl2;
description = "Freedesktop.org desktop menus for LXDE";
platforms = stdenv.lib.platforms.linux;
platforms = lib.platforms.linux;
};
}
+5 -5
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, gettext, m4, intltool, libxmlxx, keybinder
{ lib, stdenv, fetchurl, pkgconfig, gettext, m4, intltool, libxmlxx, keybinder
, gtk2, libX11, libfm, libwnck, libXmu, libXpm, cairo, gdk-pixbuf, gdk-pixbuf-xlib
, menu-cache, lxmenu-data, wirelesstools, curl
, supportAlsa ? false, alsaLib
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [
keybinder gtk2 libX11 libfm libwnck libXmu libXpm cairo gdk-pixbuf gdk-pixbuf-xlib.dev
menu-cache lxmenu-data m4 wirelesstools curl
] ++ stdenv.lib.optional supportAlsa alsaLib;
] ++ lib.optional supportAlsa alsaLib;
postPatch = ''
substituteInPlace src/Makefile.in \
@@ -28,8 +28,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Lightweight X11 desktop panel for LXDE";
homepage = "https://lxde.org/";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.ryneeverett ];
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.ryneeverett ];
platforms = lib.platforms.linux;
};
}
+3 -3
View File
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "04n3vgh3ix12p8jfs4w0dyfq3anbjy33h7g53wbbqqc0f74xyplb";
};
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
configureFlags = lib.optional withGtk3 "--enable-gtk3";
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ libX11 (if withGtk3 then gtk3 else gtk2) xrandr ];
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Standard screen manager of LXDE";
homepage = "https://lxde.org/";
license = stdenv.lib.licenses.gpl2;
license = lib.licenses.gpl2;
maintainers = with maintainers; [ rawkode ];
platforms = stdenv.lib.platforms.linux;
platforms = lib.platforms.linux;
};
}
+4 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libintl }:
{ lib, stdenv, fetchurl, pkgconfig, intltool, gtk3, libintl }:
stdenv.mkDerivation rec {
pname = "lxtask";
@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
requires pure GTK.
'';
homepage = "https://wiki.lxde.org/en/LXTask";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ];
};
}