summary refs log tree commit diff
path: root/pkgs/development/python-modules/pycallgraph
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-16 10:44:58 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2018-10-17 07:46:58 +0200
commit04169f4c3cb27c82997c451ee03704e2ec8a4771 (patch)
treee93543d0aca308edb491945e86f69a393ae96da9 /pkgs/development/python-modules/pycallgraph
parenta4ff15029a66d32a115776720d46871058e98582 (diff)
downloadnixpkgs-04169f4c3cb27c82997c451ee03704e2ec8a4771.tar
nixpkgs-04169f4c3cb27c82997c451ee03704e2ec8a4771.tar.gz
nixpkgs-04169f4c3cb27c82997c451ee03704e2ec8a4771.tar.bz2
nixpkgs-04169f4c3cb27c82997c451ee03704e2ec8a4771.tar.lz
nixpkgs-04169f4c3cb27c82997c451ee03704e2ec8a4771.tar.xz
nixpkgs-04169f4c3cb27c82997c451ee03704e2ec8a4771.tar.zst
nixpkgs-04169f4c3cb27c82997c451ee03704e2ec8a4771.zip
pythonPackages.pycallgraph: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/pycallgraph')
-rw-r--r--pkgs/development/python-modules/pycallgraph/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pycallgraph/default.nix b/pkgs/development/python-modules/pycallgraph/default.nix
new file mode 100644
index 00000000000..9a6a3f4be2e
--- /dev/null
+++ b/pkgs/development/python-modules/pycallgraph/default.nix
@@ -0,0 +1,28 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, pytest
+}:
+
+buildPythonPackage rec {
+  pname = "pycallgraph";
+  version = "1.0.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0w8yr43scnckqcv5nbyd2dq4kpv74ai856lsdsf8iniik07jn9mi";
+  };
+
+  buildInputs = [ pytest ];
+
+  # Tests do not work due to this bug: https://github.com/gak/pycallgraph/issues/118
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = http://pycallgraph.slowchop.com;
+    description = "Call graph visualizations for Python applications";
+    maintainers = with maintainers; [ auntie ];
+    license = licenses.gpl2;
+  };
+
+}