-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pythonPackages.incapsula-cracker-py3: init at 0.1.8.1 #117412
Changes from 1 commit
f718565
4d762d2
f5438fc
6329466
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The upstream repo contains tests. Consider to switch to the source provided by GitHub to run the tests. Add |
||
|
||
meta = with lib; { | ||
description = "Bypass sites guarded with Incapsula"; | ||
homepage = "https://github.com/ziplokk1/incapsula-cracker-py3"; | ||
license = licenses.unlicense; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider to add yourself as maintainer. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is required for new packages actually. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
}; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was fixed upstream (ziplokk1/incapsula-cracker-py3#25) in the meantime. But no new release was made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So until it is released, we need this local patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes