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
+6 -6
View File
@@ -1,5 +1,5 @@
{ stdenv, fetchurl,
openssl,
{ lib, stdenv, fetchurl,
openssl,
} :
stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
# objdump binary during cross-building for foreign platforms.
# The correct objdump is exposed via the environment variable
# $OBJDUMP, which should be used in such cases.
preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
substituteInPlace configure --replace "OBJDUMP=$ac_cv_path_OBJDUMP" 'OBJDUMP=''${OBJDUMP}'
'';
doCheck = true;
@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.maier-komor.de/mbuffer.html";
description = "A tool for buffering data streams with a large set of unique features";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ tokudan ];
platforms = stdenv.lib.platforms.linux; # Maybe other non-darwin Unix
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ tokudan ];
platforms = lib.platforms.linux; # Maybe other non-darwin Unix
};
}