pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user