Commit 5c966ddc authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent c3532943
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -12,14 +12,15 @@
, pythonOlder
, pytz
, requests
, setuptools
, simplejson
, tabulate
}:

buildPythonPackage rec {
  pname = "faraday-plugins";
  version = "1.15.1";
  format = "setuptools";
  version = "1.16.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -27,14 +28,18 @@ buildPythonPackage rec {
    owner = "infobyte";
    repo = "faraday_plugins";
    rev = "refs/tags/${version}";
    hash = "sha256-cJ7gFE8zTN+7fp4EY8ZRwjS8i0r+8WaIH/EdY89nZew=";
    hash = "sha256-1haWRuWK9WCgdR4geT2w3E95+CapBYDohGowUmnJ2H4=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace "version=version," "version='${version}',"
      --replace-warn "version=version," "version='${version}',"
  '';

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    beautifulsoup4
    click