diff options
author | Gürkan Gür <gurkan.gur@innogames.com> | 2019-04-26 16:50:39 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-01-08 11:46:48 -0800 |
commit | 0def56c8ee02ab3f93e073b950c9438211f2432c (patch) | |
tree | 288acfc35c684b10362d2dabf2bf9000c14cca0d /pkgs/development/python-modules/pysnooper | |
parent | 08f1be27b54e39374065c8b70a278d6b353aad54 (diff) | |
download | nixpkgs-0def56c8ee02ab3f93e073b950c9438211f2432c.tar nixpkgs-0def56c8ee02ab3f93e073b950c9438211f2432c.tar.gz nixpkgs-0def56c8ee02ab3f93e073b950c9438211f2432c.tar.bz2 nixpkgs-0def56c8ee02ab3f93e073b950c9438211f2432c.tar.lz nixpkgs-0def56c8ee02ab3f93e073b950c9438211f2432c.tar.xz nixpkgs-0def56c8ee02ab3f93e073b950c9438211f2432c.tar.zst nixpkgs-0def56c8ee02ab3f93e073b950c9438211f2432c.zip |
pythonPackages.pysnooper: init at 0.3.0
Diffstat (limited to 'pkgs/development/python-modules/pysnooper')
-rw-r--r-- | pkgs/development/python-modules/pysnooper/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pysnooper/default.nix b/pkgs/development/python-modules/pysnooper/default.nix new file mode 100644 index 00000000000..bb41a4d1855 --- /dev/null +++ b/pkgs/development/python-modules/pysnooper/default.nix @@ -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 ]; + }; +} |