pythonPackages.pysnooper: init at 0.3.0

This commit is contained in:
Gürkan Gür 2019-04-26 16:50:39 +02:00 committed by Jon
parent 08f1be27b5
commit 0def56c8ee
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, python-toolbox
, pytest
, isPy27
}:
buildPythonPackage rec {
version = "0.3.0";
pname = "pysnooper";
src = fetchPypi {
inherit version;
pname = "PySnooper";
sha256 = "14vcxrzfmfhsmdck1cb56a6lbfga15qfhlkap9mh47fgspcq8xkx";
};
# test dependency python-toolbox fails with py27
doCheck = !isPy27;
checkInputs = [
python-toolbox
pytest
];
meta = with lib; {
description = "A poor man's debugger for Python";
homepage = https://github.com/cool-RR/PySnooper;
license = licenses.mit;
maintainers = with maintainers; [ seqizz ];
};
}

View File

@ -6643,6 +6643,8 @@ in {
python-toolbox = callPackage ../development/python-modules/python-toolbox { };
pysnooper = callPackage ../development/python-modules/pysnooper { };
sseclient = callPackage ../development/python-modules/sseclient { };
warrant = callPackage ../development/python-modules/warrant { };