lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python311Packages.flake8-polyfill: modernize

+6 -3
+6 -3
pkgs/development/python-modules/flake8-polyfill/default.nix
··· 3 3 buildPythonPackage, 4 4 fetchpatch, 5 5 fetchPypi, 6 + setuptools, 6 7 flake8, 7 8 mock, 8 9 pep8, ··· 12 13 buildPythonPackage rec { 13 14 pname = "flake8-polyfill"; 14 15 version = "1.0.2"; 15 - format = "setuptools"; 16 + pyproject = true; 16 17 17 18 src = fetchPypi { 18 19 inherit pname version; 19 20 sha256 = "1nlf1mkqw856vi6782qcglqhaacb23khk9wkcgn55npnjxshhjz4"; 20 21 }; 21 22 22 - propagatedBuildInputs = [ flake8 ]; 23 + build-system = [ setuptools ]; 24 + 25 + dependencies = [ flake8 ]; 23 26 24 27 nativeCheckInputs = [ 25 28 mock ··· 39 42 postPatch = '' 40 43 # Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead. 41 44 substituteInPlace setup.cfg \ 42 - --replace pytest 'tool:pytest' 45 + --replace-fail pytest 'tool:pytest' 43 46 ''; 44 47 45 48 pythonImportsCheck = [ "flake8_polyfill" ];