pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, texinfo, libuuid, flex, bison, pixman, autoconf
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
qemuName = "qemu-3.1.0";
|
||||
|
||||
Reference in New Issue
Block a user