default.nix (980B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 pytest-skip-markers, 6 }: 7 8 python3Packages.buildPythonPackage rec { 9 pname = "pytest-shell-utilities"; 10 version = "1.9.3"; 11 pyproject = true; 12 disabled = python3Packages.pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "saltstack"; 16 repo = "pytest-shell-utilities"; 17 rev = version; 18 hash = "sha256-AzIspaE6eHaG7YcRtuXtYsjwqF2rvO2YRxdiFlWsHuw="; 19 }; 20 21 SETUPTOOLS_SCM_PRETEND_VERSION = version; 22 23 build-system = with python3Packages; [ 24 setuptools-scm 25 setuptools-declarative-requirements 26 ]; 27 28 dependencies = with python3Packages; [ 29 psutil 30 pytest-skip-markers 31 pytest-subtests 32 pytest-helpers-namespace 33 ]; 34 35 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 36 37 meta = { 38 description = "Pytest Shell Utilities"; 39 homepage = "https://github.com/saltstack/pytest-shell-utilities"; 40 license = lib.licenses.asl20; 41 maintainers = [ lib.maintainers.sikmir ]; 42 }; 43 }