mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
e4676179b3
Diff: https://github.com/pytest-dev/pluggy/compare/refs/tags/1.4.0...1.5.0 Changelog: https://github.com/pytest-dev/pluggy/blob/refs/tags/1.5.0/CHANGELOG.rst
42 lines
909 B
Nix
42 lines
909 B
Nix
{
|
|
buildPythonPackage,
|
|
lib,
|
|
fetchFromGitHub,
|
|
setuptools-scm,
|
|
pythonOlder,
|
|
importlib-metadata,
|
|
callPackage,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pluggy";
|
|
version = "1.5.0";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pytest-dev";
|
|
repo = "pluggy";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-f0DxyZZk6RoYtOEXLACcsOn2B+Hot4U4g5Ogr/hKmOE=";
|
|
};
|
|
|
|
build-system = [ setuptools-scm ];
|
|
|
|
# To prevent infinite recursion with pytest
|
|
doCheck = false;
|
|
passthru.tests = {
|
|
pytest = callPackage ./tests.nix { };
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://github.com/pytest-dev/pluggy/blob/${src.rev}/CHANGELOG.rst";
|
|
description = "Plugin and hook calling mechanisms for Python";
|
|
homepage = "https://github.com/pytest-dev/pluggy";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|