pythonPackages.pycallgraph: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-16 10:44:58 -04:00
committed by Frederik Rietdijk
parent a4ff15029a
commit 04169f4c3c
2 changed files with 29 additions and 22 deletions

View File

@@ -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;
};
}