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,4 +1,4 @@
{ stdenv, fetchgit, libusb-compat-0_1, libusb1, autoconf, automake, libconfuse, pkgconfig
{ lib, stdenv, fetchgit, libusb-compat-0_1, libusb1, autoconf, automake, libconfuse, pkgconfig
, gccCross ? null
}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
sh autogen.sh
'';
configureFlags = stdenv.lib.optionals (gccCross != null) [
configureFlags = lib.optionals (gccCross != null) [
"--enable-firmware"
"CROSS_COMPILE=${gccCross.targetPrefix}"
];
@@ -31,13 +31,13 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoconf automake pkgconfig ];
buildInputs = [ libusb-compat-0_1 libusb1 libconfuse ] ++
stdenv.lib.optional (gccCross != null) gccCross;
lib.optional (gccCross != null) gccCross;
meta = {
description = "Qi tools to access the Ben Nanonote USB_BOOT mode";
license = stdenv.lib.licenses.gpl3;
license = lib.licenses.gpl3;
homepage = "http://www.linux-mtd.infradead.org/";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = stdenv.lib.platforms.x86_64;
maintainers = with lib.maintainers; [viric];
platforms = lib.platforms.x86_64;
};
}