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
@@ -1,7 +1,7 @@
{ lib, stdenv, aflplusplus}:
stdenv.mkDerivation {
version = stdenv.lib.getVersion aflplusplus;
version = lib.getVersion aflplusplus;
pname = "libdislocator";
src = aflplusplus.src;
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
the odds of bumping into heap-related security bugs in
several ways.
'';
license = stdenv.lib.licenses.asl20;
license = lib.licenses.asl20;
maintainers = with maintainers; [ ris ];
};
}
@@ -1,7 +1,7 @@
{ lib, stdenv, aflplusplus}:
stdenv.mkDerivation {
version = stdenv.lib.getVersion aflplusplus;
version = lib.getVersion aflplusplus;
pname = "libtokencap";
src = aflplusplus.src;
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
meta = with lib; {
homepage = "https://github.com/vanhauser-thc/AFLplusplus";
description = "strcmp & memcmp token capture library";
license = stdenv.lib.licenses.asl20;
license = lib.licenses.asl20;
maintainers = with maintainers; [ ris ];
};
}
+1 -1
View File
@@ -2,7 +2,7 @@
, texinfo, libuuid, flex, bison, pixman, autoconf
}:
with stdenv.lib;
with lib;
let
qemuName = "qemu-3.1.0";