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