python3Packages.pytest-json-report: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-16 09:29:51 +01:00 committed by GitHub
parent 8a5b0f53ec
commit e858808a89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,17 +5,21 @@
, pytest-metadata
, pytest-xdist
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-json-report";
version = "1.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "numirias";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hMB/atDuo7CjwhHFUOxVfgJ7Qp4AA9J428iv7hyQFcs=";
hash = "sha256-hMB/atDuo7CjwhHFUOxVfgJ7Qp4AA9J428iv7hyQFcs=";
};
buildInputs = [