Skip to content

Commit

Permalink
pythonPackages.incapsula-cracker-py3: init at 0.1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
seghers committed Mar 23, 2021
1 parent f5e8bdd commit f718565
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/incapsula-cracker-py3/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, beautifulsoup4, requests, six }:

buildPythonPackage rec {
pname = "incapsula-cracker-py3";
version = "0.1.8.1";

src = fetchPypi {
inherit pname version;
sha256 = "60079f6602a3e4ef21d68e7bc99b52e378ae1d0e55135b05de01a241d71d1fe7";
};

propagatedBuildInputs = [ beautifulsoup4 requests six ];

prePatch = ''
substituteInPlace setup.py \
--replace "bs4" "beautifulsoup4"
'';

doCheck = false;

meta = with lib; {
description = "Bypass sites guarded with Incapsula";
homepage = "https://github.com/ziplokk1/incapsula-cracker-py3";
license = licenses.unlicense;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3277,6 +3277,8 @@ in {

imutils = callPackage ../development/python-modules/imutils { };

incapsula-cracker-py3 = callPackage ../development/python-modules/incapsula-cracker-py3 { };

incomfort-client = callPackage ../development/python-modules/incomfort-client { };

incremental = callPackage ../development/python-modules/incremental { };
Expand Down

0 comments on commit f718565

Please sign in to comment.