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
{ lib, stdenv, fetchurl
, checksumType ? "built-in"
, libmhash ? null
, openssl ? null
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
"--with-checksum=${checksumType}"
];
buildInputs = stdenv.lib.optional (checksumType == "mhash") libmhash
++ stdenv.lib.optional (checksumType == "openssl") openssl;
buildInputs = lib.optional (checksumType == "mhash") libmhash
++ lib.optional (checksumType == "openssl") openssl;
src = fetchurl {
urls = [
@@ -28,8 +28,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Simple tool for transporting data over the network";
license = stdenv.lib.licenses.gpl2;
license = lib.licenses.gpl2;
homepage = "https://mamuti.net/netrw/index.en.html";
platforms = stdenv.lib.platforms.unix;
platforms = lib.platforms.unix;
};
}