summary refs log tree commit diff
path: root/pkgs/tools/X11/xloadimage
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-15 16:19:50 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-15 17:12:36 +0700
commit8c5d37129fc5097d9fb52e95fb07de75392d1c3c (patch)
tree40cfd341b87811008151e9ecf053cf7449574b98 /pkgs/tools/X11/xloadimage
parent94f36839357387fd711d17d762d88c69767f265b (diff)
downloadnixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar
nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.gz
nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.bz2
nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.lz
nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.xz
nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.zst
nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.zip
pkgs/tools: stdenv.lib -> lib
Diffstat (limited to 'pkgs/tools/X11/xloadimage')
-rw-r--r--pkgs/tools/X11/xloadimage/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/tools/X11/xloadimage/default.nix b/pkgs/tools/X11/xloadimage/default.nix
index 3bd9f525683..e228c8223f4 100644
--- a/pkgs/tools/X11/xloadimage/default.nix
+++ b/pkgs/tools/X11/xloadimage/default.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ lib, stdenv
 , fetchurl
 , libX11
 , libXt
@@ -35,11 +35,11 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     libX11 libXt
-  ] ++ stdenv.lib.optionals withJpegSupport [
+  ] ++ lib.optionals withJpegSupport [
     libjpeg
-  ] ++ stdenv.lib.optionals withPngSupport [
+  ] ++ lib.optionals withPngSupport [
     libpng
-  ] ++ stdenv.lib.optionals withTiffSupport [
+  ] ++ lib.optionals withTiffSupport [
     libtiff
   ];
 
@@ -80,9 +80,9 @@ stdenv.mkDerivation rec {
       zoom, brightening/darkening and merging.
     '';
 
-    license = stdenv.lib.licenses.gpl2Plus;
+    license = lib.licenses.gpl2Plus;
 
-    maintainers = with stdenv.lib.maintainers; [ andrew-d ];
-    platforms = stdenv.lib.platforms.linux;  # arbitrary choice
+    maintainers = with lib.maintainers; [ andrew-d ];
+    platforms = lib.platforms.linux;  # arbitrary choice
   };
 }