1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 18:03:22 +00:00
nixpkgs/pkgs/development/python-modules/pysnooper/default.nix

32 lines
593 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, isPy27
}:
buildPythonPackage rec {
2020-05-21 13:00:22 +01:00
version = "0.4.1";
pname = "pysnooper";
src = fetchPypi {
inherit version;
pname = "PySnooper";
2020-05-21 13:00:22 +01:00
sha256 = "1xngly13x3ylwwcdml2ns8skpxip2myzavp3b9ff2dpqaalf0hdl";
};
# 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 ];
};
}