1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-23 09:51:00 +03:00
nixpkgs/pkgs/development/python-modules/pytest-virtualenv/default.nix
Alexis Hildebrandt bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00

48 lines
1,016 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
lib,
buildPythonPackage,
cmdline,
importlib-metadata,
mock,
pytestCheckHook,
pytest,
pytest-fixture-config,
pytest-shutil,
setuptools,
virtualenv,
}:
buildPythonPackage rec {
pname = "pytest-virtualenv";
inherit (pytest-fixture-config) version src;
pyproject = true;
sourceRoot = "${src.name}/pytest-virtualenv";
build-system = [ setuptools ];
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";
homepage = "https://github.com/manahl/pytest-plugins";
license = licenses.mit;
maintainers = with maintainers; [ ryansydnor ];
};
}