forked from mirrors/nixpkgs
35 lines
696 B
Nix
35 lines
696 B
Nix
{ buildPythonPackage
|
|
, lib
|
|
, fetchPypi
|
|
, setuptools-scm
|
|
, importlib-metadata
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pluggy";
|
|
version = "1.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159";
|
|
};
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
# To prevent infinite recursion with pytest
|
|
doCheck = false;
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [ importlib-metadata ];
|
|
|
|
meta = {
|
|
description = "Plugin and hook calling mechanisms for Python";
|
|
homepage = "https://github.com/pytest-dev/pluggy";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|