pkgs/development/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-23 19:26:19 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, openssl, perl, pkg-config, rustPlatform
{ lib, stdenv, fetchFromGitHub, openssl, perl, pkg-config, rustPlatform
, CoreServices, Security
}:
@@ -16,9 +16,9 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0i9xp7vd1rp6xgkbbrspm3qq4hxwfwa00di3k73z1x64d3d8r5fm";
nativeBuildInputs = [ openssl perl pkg-config ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ];
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A Cargo subcommand for the client-side Web";
homepage = "https://github.com/koute/cargo-web";
license = with licenses; [ asl20 /* or */ mit ];