python310Packages.faraday-plugins: set version
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
, lxml
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pytz
|
||||
, requests
|
||||
, simplejson
|
||||
@@ -19,6 +20,8 @@ buildPythonPackage rec {
|
||||
version = "1.8.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "infobyte";
|
||||
repo = "faraday_plugins";
|
||||
@@ -26,6 +29,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-KAfy2AQWZYFT/+rX8dNe8aWTFI0kkGg5IaSHhwYGk3A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "version=version," "version='${version}',"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
click
|
||||
@@ -64,6 +72,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Security tools report parsers for Faraday";
|
||||
homepage = "https://github.com/infobyte/faraday_plugins";
|
||||
changelog = "https://github.com/infobyte/faraday_plugins/releases/tag/${version}";
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user