0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

python3Packages.pytest-asyncio: fix tests

This commit is contained in:
Jonathan Ringer 2022-01-13 19:37:20 -08:00 committed by Martin Weinelt
parent 0d2625632b
commit 212ca43526

View file

@ -1,10 +1,12 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, flaky
, hypothesis , hypothesis
, pytest , pytest
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools-scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -21,11 +23,18 @@ buildPythonPackage rec {
sha256 = "1c7xddg76pixwlwdl4zxwpy48q2q619i8kzjx2c67a0i8xbx1q5r"; sha256 = "1c7xddg76pixwlwdl4zxwpy48q2q619i8kzjx2c67a0i8xbx1q5r";
}; };
buildInputs = [ SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
pytest pytest
]; ];
checkInputs = [ checkInputs = [
flaky
hypothesis hypothesis
pytestCheckHook pytestCheckHook
]; ];