vulnix: use python3Packages as argument

This commit is contained in:
Frederik Rietdijk 2019-11-13 16:11:56 +01:00
parent d17d0711e8
commit cf5e5e4d79
2 changed files with 6 additions and 8 deletions

View File

@ -1,10 +1,10 @@
{ stdenv, pythonPackages, nix, ronn }:
{ stdenv, python3Packages, nix, ronn }:
pythonPackages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "vulnix";
version = "1.8.2";
src = pythonPackages.fetchPypi {
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "0zn21j15vd1z7s40s45zr5wri3r770yvazxqmm60fqpzc5sg552y";
};
@ -12,7 +12,7 @@ pythonPackages.buildPythonApplication rec {
outputs = [ "out" "doc" "man" ];
nativeBuildInputs = [ ronn ];
checkInputs = with pythonPackages; [
checkInputs = with python3Packages; [
freezegun
pytest
pytestcov
@ -21,7 +21,7 @@ pythonPackages.buildPythonApplication rec {
propagatedBuildInputs = [
nix
] ++ (with pythonPackages; [
] ++ (with python3Packages; [
click
colorama
lxml

View File

@ -10482,9 +10482,7 @@ in
vultr = callPackage ../development/tools/vultr { };
vulnix = callPackage ../tools/security/vulnix {
pythonPackages = python3Packages;
};
vulnix = callPackage ../tools/security/vulnix { };
vtable-dumper = callPackage ../development/tools/misc/vtable-dumper { };