depot/third_party/nixpkgs/pkgs/development/python-modules/pysnooper/default.nix
Default email a8b1b57b85 Project import generated by Copybara.
GitOrigin-RevId: fc4148a47fa927319186061aa42633c8aa5777f1
2022-01-22 02:22:15 +01:00

31 lines
605 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, isPy27
}:
buildPythonPackage rec {
version = "1.1.0";
pname = "pysnooper";
src = fetchPypi {
inherit version;
pname = "PySnooper";
sha256 = "0fa932ad396d2bac089d4b1f94f0ce49cde4140ee64ddd24a4065fadea10fcc9";
};
# test dependency python-toolbox fails with py27
doCheck = !isPy27;
checkInputs = [
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 ];
};
}