flake/packages/picklescan/default.nix
matthewcroughan 5615f114d7 init
2023-02-11 22:54:48 +00:00

52 lines
799 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, writeText
, isPy27
, pytestCheckHook
, pytest-mpl
, numpy
, scipy
, scikit-learn
, pandas
, transformers
, opencv4
, lightgbm
, catboost
, pyspark
, sentencepiece
, tqdm
, slicer
, numba
, matplotlib
, nose
, lime
, cloudpickle
, ipython
, packaging
}:
buildPythonPackage rec {
pname = "picklescan";
version = "0.0.7";
disabled = isPy27;
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-5HFpf+VPVIL/IvGDpOP9q0pdleNshiSW3QffX8qJVAk=";
};
propagatedBuildInputs = [
setuptools
];
doCheck = false;
meta = with lib; {
description = "Security scanner detecting Python Pickle files performing suspicious actions";
homepage = "https://github.com/mmaitre314/picklescan";
};
}