python312Packages.pytest-virtualenv: 1.7.0 -> 1.7.1-unstable-2022-10-03

This commit is contained in:
TomaSajt 2024-05-12 16:42:32 +02:00
parent 44f4e95673
commit 143bc2fa8f
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -1,21 +1,43 @@
{ lib, buildPythonPackage, fetchPypi
, pytest, pytest-cov, mock, cmdline, pytest-fixture-config, pytest-shutil, virtualenv }:
{
lib,
buildPythonPackage,
cmdline,
importlib-metadata,
mock,
pytestCheckHook,
pytest,
pytest-fixture-config,
pytest-shutil,
setuptools,
virtualenv,
}:
buildPythonPackage rec {
pname = "pytest-virtualenv";
version = "1.7.0";
format = "setuptools";
inherit (pytest-fixture-config) version src;
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12";
};
sourceRoot = "${src.name}/pytest-virtualenv";
nativeCheckInputs = [ pytest pytest-cov mock cmdline ];
propagatedBuildInputs = [ pytest-fixture-config pytest-shutil virtualenv ];
checkPhase = "py.test tests/unit ";
build-system = [ setuptools ];
nativeBuildInputs = [ pytest ];
buildInputs = [ pytest ];
dependencies = [
importlib-metadata
pytest-fixture-config
pytest-shutil
virtualenv
];
nativeCheckInputs = [
cmdline
mock
pytestCheckHook
];
# Don't run integration tests
disabledTestPaths = [ "tests/integration/*" ];
meta = with lib; {
description = "Create a Python virtual environment in your test that cleans up on teardown. The fixture has utility methods to install packages and list whats installed.";