lol

python312Packages.twentemilieu: migrate to pytest-cov-stub

+7 -5
+7 -5
pkgs/development/python-modules/twentemilieu/default.nix
··· 1 1 { 2 2 lib, 3 - buildPythonPackage, 4 - pythonOlder, 5 - fetchFromGitHub, 6 3 aiohttp, 7 - yarl, 8 4 aresponses, 5 + buildPythonPackage, 6 + fetchFromGitHub, 9 7 poetry-core, 10 8 pytest-asyncio, 9 + pytest-cov-stub, 11 10 pytestCheckHook, 11 + pythonOlder, 12 + yarl, 12 13 }: 13 14 14 15 buildPythonPackage rec { ··· 26 27 }; 27 28 28 29 postPatch = '' 30 + # Upstream is creating GitHub releases without version 29 31 substituteInPlace pyproject.toml \ 30 - --replace "--cov" "" \ 31 32 --replace '"0.0.0"' '"${version}"' 32 33 ''; 33 34 ··· 41 42 nativeCheckInputs = [ 42 43 aresponses 43 44 pytest-asyncio 45 + pytest-cov-stub 44 46 pytestCheckHook 45 47 ]; 46 48