Unverified Commit af9e5051 authored by Florian Klink's avatar Florian Klink Committed by GitHub
Browse files

python3.pkgs.w3lib: fix build with python 3.9 and 3.10 (#375511)

parents 7081410b e7b34106
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchpatch,
  fetchPypi,
  pytestCheckHook,
  pythonOlder,
@@ -19,6 +20,13 @@ buildPythonPackage rec {
    hash = "sha256-dW/y2Uxk5ByNfAxZ/qEqXQvFXjOlMceYi0oWPeubB90=";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/scrapy/w3lib/commit/44dcf9160c3f207658d6ce808307c80c9ca835a2.patch";
      hash = "sha256-fUQ2oWpAJeslgemt+EUxKLH3Ywpg441FCOBLFJCZ+Ac=";
    })
  ];

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];