depot/third_party/nixpkgs/pkgs/development/python-modules/pysnooper/default.nix
Default email d56f44df06 Project import generated by Copybara.
GitOrigin-RevId: bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13
2022-04-03 20:54:34 +02:00

35 lines
645 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pysnooper";
version = "1.1.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "PySnooper";
hash = "sha256-0X3JHMoVk8ECMNzkXkax0/8PiRDww46UHt9roSYLOCA=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pysnooper"
];
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 ];
};
}