mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
Entirely find-and-replace based. A few usages that would cause rebuilds if changed remain. This PR should have 0 rebuilds.
27 lines
431 B
Nix
27 lines
431 B
Nix
{
|
|
buildPythonPackage,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
sanic-testing,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "sanic-testing-tests";
|
|
inherit (sanic-testing) version;
|
|
|
|
src = sanic-testing.testsout;
|
|
pyproject = false;
|
|
|
|
dontBuild = true;
|
|
dontInstall = true;
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
sanic-testing
|
|
setuptools
|
|
];
|
|
|
|
pythonImportsCheck = [ "sanic_testing" ];
|
|
}
|