pythonPackages.pycallgraph: refactor move to python-modules
This commit is contained in:
parent
a4ff15029a
commit
04169f4c3c
2 changed files with 29 additions and 22 deletions
28
pkgs/development/python-modules/pycallgraph/default.nix
Normal file
28
pkgs/development/python-modules/pycallgraph/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -2062,28 +2062,7 @@ in {
|
|||
|
||||
pybtex-docutils = callPackage ../development/python-modules/pybtex-docutils {};
|
||||
|
||||
pycallgraph = buildPythonPackage rec {
|
||||
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;
|
||||
};
|
||||
};
|
||||
pycallgraph = callPackage ../development/python-modules/pycallgraph { };
|
||||
|
||||
pycassa = callPackage ../development/python-modules/pycassa { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue