treewide: stdenv.lib -> lib
This commit is contained in:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
installPhase =
|
||||
let
|
||||
PATH =
|
||||
stdenv.lib.makeBinPath
|
||||
lib.makeBinPath
|
||||
[imagemagick i3lock-color xdpyinfo xrandr bc feh procps xrdb];
|
||||
in ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
@@ -7,7 +7,7 @@ let
|
||||
i3lock = writeShellScriptBin "i3lock" ''
|
||||
${i3lock-color}/bin/i3lock-color "$@"
|
||||
'';
|
||||
binPath = stdenv.lib.makeBinPath [
|
||||
binPath = lib.makeBinPath [
|
||||
imagemagick i3lock
|
||||
xdpyinfo xrandr xset
|
||||
bc feh procps xrdb
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
make PREFIX=$out/ install
|
||||
|
||||
wrapProgram $out/bin/pipes.sh \
|
||||
--set PATH "${stdenv.lib.makeBinPath [ coreutils ncurses ]}"
|
||||
--set PATH "${lib.makeBinPath [ coreutils ncurses ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, pkgconfig, xlibsWrapper, libXext, libGLU, libGL, imagemagick, libtiff, bzip2}:
|
||||
{lib, stdenv, fetchurl, pkgconfig, xlibsWrapper, libXext, libGLU, libGL, imagemagick, libtiff, bzip2}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.1";
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
This package currently contains all of the screensavers from the
|
||||
original collection, plus a few others.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ stdenv, fetchurl, writeText
|
||||
{ lib, stdenv, fetchurl, writeText
|
||||
, xorgproto, libX11, libXext, libXrandr
|
||||
# default header can be obtained from
|
||||
# https://git.suckless.org/slock/tree/config.def.h
|
||||
, conf ? null }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "slock-1.4";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, bc, perl, perlPackages, pam, libXext, libXScrnSaver, libX11
|
||||
{ lib, stdenv, fetchurl, pkgconfig, bc, perl, perlPackages, pam, libXext, libXScrnSaver, libX11
|
||||
, libXrandr, libXmu, libXxf86vm, libXrender, libXxf86misc, libjpeg, libGLU, libGL, gtk2
|
||||
, libxml2, libglade, intltool, xorg, makeWrapper, gle, gdk-pixbuf, gdk-pixbuf-xlib
|
||||
, forceInstallAllHacks ? false
|
||||
@@ -37,14 +37,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/xscreensaver-text \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [xorg.appres]}
|
||||
--prefix PATH : ${lib.makeBinPath [xorg.appres]}
|
||||
wrapProgram $out/bin/xscreensaver-getimage-file \
|
||||
--set PERL5LIB "$out/${perlPackages.perl.libPrefix}:${with perlPackages; makePerlPath [
|
||||
EncodeLocale HTTPDate HTTPMessage IOSocketSSL LWP LWPProtocolHttps
|
||||
MozillaCA NetHTTP NetSSLeay TryTiny URI
|
||||
]}"
|
||||
''
|
||||
+ stdenv.lib.optionalString forceInstallAllHacks ''
|
||||
+ lib.optionalString forceInstallAllHacks ''
|
||||
make -C hacks/glx dnalogo
|
||||
cat hacks/Makefile.in | grep -E '([a-z0-9]+):[[:space:]]*\1[.]o' | cut -d : -f 1 | xargs make -C hacks
|
||||
cat hacks/glx/Makefile.in | grep -E '([a-z0-9]+):[[:space:]]*\1[.]o' | cut -d : -f 1 | xargs make -C hacks/glx
|
||||
@@ -55,8 +55,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://www.jwz.org/xscreensaver/";
|
||||
description = "A set of screensavers";
|
||||
maintainers = with stdenv.lib.maintainers; [ raskin ];
|
||||
platforms = stdenv.lib.platforms.unix; # Once had cygwin problems
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
platforms = lib.platforms.unix; # Once had cygwin problems
|
||||
inherit version;
|
||||
downloadPage = "https://www.jwz.org/xscreensaver/download.html";
|
||||
updateWalker = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, glib, pkgconfig, xorg, dbus }:
|
||||
{ lib, stdenv, fetchFromGitHub, glib, pkgconfig, xorg, dbus }:
|
||||
|
||||
let rev = "1.0.0"; in
|
||||
|
||||
@@ -23,8 +23,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Forward freedesktop.org Idle Inhibition Service calls to Xss";
|
||||
homepage = "https://github.com/timakro/xssproxy";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = with stdenv.lib.maintainers; [ benley ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ benley ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, python, pkgconfig, xlibsWrapper, pam }:
|
||||
{ lib, stdenv, fetchgit, python, pkgconfig, xlibsWrapper, pam }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xtrlock-pam-3.4-post-20150909";
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
||||
homepage = "https://github.com/aanatoly/xtrlock-pam";
|
||||
description = "PAM based X11 screen locker";
|
||||
license = "unknown";
|
||||
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
maintainers = with lib.maintainers; [ tstrobel ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user