depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco-envs/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

48 lines
972 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
path,
tox,
virtualenv,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jaraco-envs";
version = "2.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jaraco";
repo = "jaraco.envs";
rev = "refs/tags/v${version}";
hash = "sha256-yRMX0H6yWN8TiO/LGAr4HyrVS8ZhBjuR885/+UQscP0=";
};
build-system = [ setuptools-scm ];
dependencies = [
path
tox
virtualenv
];
pythonImportsCheck = [ "jaraco.envs" ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
# requires networking
"jaraco/envs.py"
];
meta = {
changelog = "https://github.com/jaraco/jaraco.envs/blob/${src.rev}/NEWS.rst";
description = "Classes for orchestrating Python (virtual) environments";
homepage = "https://github.com/jaraco/jaraco.envs";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}