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, stdenvNoCC, fetchFromGitHub, callPackage, makeWrapper
{ lib, stdenv, stdenvNoCC, fetchFromGitHub, callPackage, makeWrapper
, clang, llvm, gcc, which, libcgroup, python, perl, gmp
, file, wine ? null, fetchpatch
}:
@@ -31,7 +31,7 @@ let
# script.
nativeBuildInputs = [ makeWrapper which clang gcc ];
buildInputs = [ llvm python gmp ]
++ stdenv.lib.optional (wine != null) python.pkgs.wrapPython;
++ lib.optional (wine != null) python.pkgs.wrapPython;
postPatch = ''
@@ -91,7 +91,7 @@ let
patchShebangs $out/bin
'' + stdenv.lib.optionalString (wine != null) ''
'' + lib.optionalString (wine != null) ''
substitute afl-wine-trace $out/bin/afl-wine-trace \
--replace "qemu_mode/unsigaction" "$out/lib/afl"
chmod +x $out/bin/afl-wine-trace
@@ -128,9 +128,9 @@ let
and improvements from the community
'';
homepage = "https://aflplus.plus";
license = stdenv.lib.licenses.asl20;
license = lib.licenses.asl20;
platforms = ["x86_64-linux" "i686-linux"];
maintainers = with stdenv.lib.maintainers; [ ris mindavi ];
maintainers = with lib.maintainers; [ ris mindavi ];
};
};
in aflplusplus