mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-02 01:50:18 +02:00
python2Packages.pluggy: reinit at 0.13.1
This commit is contained in:
parent
9522723565
commit
97ca5289be
34
pkgs/development/python-modules/pluggy/0.nix
Normal file
34
pkgs/development/python-modules/pluggy/0.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ buildPythonPackage
|
||||||
|
, lib
|
||||||
|
, fetchPypi
|
||||||
|
, setuptools-scm
|
||||||
|
, importlib-metadata
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pluggy";
|
||||||
|
version = "0.13.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0";
|
||||||
|
};
|
||||||
|
|
||||||
|
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; [ ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -395,6 +395,8 @@ with self; with super; {
|
||||||
|
|
||||||
pip = callPackage ../development/python-modules/pip/20.nix { };
|
pip = callPackage ../development/python-modules/pip/20.nix { };
|
||||||
|
|
||||||
|
pluggy = callPackage ../development/python-modules/pluggy/0.nix { };
|
||||||
|
|
||||||
postorius = disabled super.postorius;
|
postorius = disabled super.postorius;
|
||||||
|
|
||||||
praw = callPackage ../development/python-modules/praw/6.3.nix { };
|
praw = callPackage ../development/python-modules/praw/6.3.nix { };
|
||||||
|
|
Loading…
Reference in a new issue