pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, readline, rsh, ssh, slurm, slurmSupport ? false }:
{ lib, stdenv, fetchurl, perl, readline, rsh, ssh, slurm, slurmSupport ? false }:
stdenv.mkDerivation rec {
name = "pdsh-2.34";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ perl readline ssh ]
++ (stdenv.lib.optional slurmSupport slurm);
++ (lib.optional slurmSupport slurm);
preConfigure = ''
configureFlagsArray=(
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://github.com/chaos/pdsh";
description = "High-performance, parallel remote shell utility";
license = stdenv.lib.licenses.gpl2;
license = lib.licenses.gpl2;
longDescription = ''
Pdsh is a high-performance, parallel remote shell utility. It has
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
while timeouts occur on some connections.
'';
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.peti ];
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.peti ];
};
}