at master 872 B view raw
1{ 2 buildPythonPackage, 3 lib, 4 fetchFromGitHub, 5 setuptools-scm, 6 pythonOlder, 7 callPackage, 8}: 9 10buildPythonPackage rec { 11 pname = "pluggy"; 12 version = "1.6.0"; 13 14 disabled = pythonOlder "3.8"; 15 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "pytest-dev"; 20 repo = "pluggy"; 21 tag = version; 22 hash = "sha256-pkQjPJuSASWmzwzp9H/UTJBQDr2r2RiofxpF135lAgc="; 23 }; 24 25 build-system = [ setuptools-scm ]; 26 27 # To prevent infinite recursion with pytest 28 doCheck = false; 29 passthru.tests = { 30 pytest = callPackage ./tests.nix { }; 31 }; 32 33 meta = { 34 changelog = "https://github.com/pytest-dev/pluggy/blob/${src.rev}/CHANGELOG.rst"; 35 description = "Plugin and hook calling mechanisms for Python"; 36 homepage = "https://github.com/pytest-dev/pluggy"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ dotlambda ]; 39 }; 40}