1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools-scm, 6 path, 7 tox, 8 virtualenv, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "jaraco-envs"; 14 version = "2.6.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "jaraco"; 19 repo = "jaraco.envs"; 20 tag = "v${version}"; 21 hash = "sha256-yRMX0H6yWN8TiO/LGAr4HyrVS8ZhBjuR885/+UQscP0="; 22 }; 23 24 build-system = [ setuptools-scm ]; 25 26 dependencies = [ 27 path 28 tox 29 virtualenv 30 ]; 31 32 pythonImportsCheck = [ "jaraco.envs" ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 disabledTestPaths = [ 37 # requires networking 38 "jaraco/envs.py" 39 ]; 40 41 meta = { 42 changelog = "https://github.com/jaraco/jaraco.envs/blob/${src.rev}/NEWS.rst"; 43 description = "Classes for orchestrating Python (virtual) environments"; 44 homepage = "https://github.com/jaraco/jaraco.envs"; 45 license = lib.licenses.mit; 46 maintainers = with lib.maintainers; [ dotlambda ]; 47 }; 48}