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

View file

@ -2062,28 +2062,7 @@ in {
pybtex-docutils = callPackage ../development/python-modules/pybtex-docutils {}; pybtex-docutils = callPackage ../development/python-modules/pybtex-docutils {};
pycallgraph = buildPythonPackage rec { pycallgraph = callPackage ../development/python-modules/pycallgraph { };
name = "pycallgraph-${version}";
version = "1.0.1";
src = pkgs.fetchurl {
url = mirror://pypi/p/pycallgraph/pycallgraph-1.0.1.tar.gz;
sha256 = "0w8yr43scnckqcv5nbyd2dq4kpv74ai856lsdsf8iniik07jn9mi";
};
buildInputs = with self; [ pytest ];
# Tests do not work due to this bug: https://github.com/gak/pycallgraph/issues/118
doCheck = false;
meta = {
homepage = http://pycallgraph.slowchop.com;
description = "Call graph visualizations for Python applications";
maintainers = with maintainers; [ auntie ];
license = licenses.gpl2;
platforms = platforms.all;
};
};
pycassa = callPackage ../development/python-modules/pycassa { }; pycassa = callPackage ../development/python-modules/pycassa { };