summary refs log tree commit diff
path: root/pkgs/development/python-modules/pluggy/default.nix
blob: 2a6996c628e6bf2dec5bd4b5c10a7018a91c5371 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ buildPythonPackage
, lib
, fetchPypi
}:

buildPythonPackage rec {
  pname = "pluggy";
  version = "0.6.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff";
  };

  checkPhase = ''
    py.test
  '';

  # To prevent infinite recursion with pytest
  doCheck = false;

  meta = {
    description = "Plugin and hook calling mechanisms for Python";
    homepage = "https://pypi.python.org/pypi/pluggy";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jgeerds ];
  };
}