python.pkgs.faulthandler: init at 2.6

This commit is contained in:
Sauyon Lee 2017-09-17 08:59:56 +01:00 committed by Robert Helgesson
parent 1130f1eaf6
commit 9e2f54a30c
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "faulthandler";
version = "2.6";
src = fetchPypi {
inherit pname version;
sha256 = "0zywq3jaznddvqc3hnfrlv24wmpyq4xgajk9xhv6578qw1rpfj2r";
};
meta = {
description = "Dump the Python traceback";
license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [ sauyon ];
homepage = http://faulthandler.readthedocs.io/;
};
}

View File

@ -5299,6 +5299,10 @@ in {
buildInputs = with self; [ fudge_9 nose ];
};
faulthandler = if ! isPy3k
then callPackage ../development/python-modules/faulthandler {}
else throw "faulthandler is built into ${python.executable}";
fedpkg = callPackage ../development/python-modules/fedpkg { };
flit = callPackage ../development/python-modules/flit { };