1{ buildPythonPackage
2, lib
3, fetchPypi
4, setuptools_scm
5}:
6
7buildPythonPackage rec {
8 pname = "pluggy";
9 version = "0.8.1";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616";
14 };
15
16 checkPhase = ''
17 py.test
18 '';
19
20 # To prevent infinite recursion with pytest
21 doCheck = false;
22
23 buildInputs = [ setuptools_scm ];
24
25 meta = {
26 description = "Plugin and hook calling mechanisms for Python";
27 homepage = "https://pypi.python.org/pypi/pluggy";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ jgeerds ];
30 };
31}