2018-02-19 00:41:02 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, fetchpatch }:
|
2017-09-17 08:59:56 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "faulthandler";
|
2017-12-30 11:22:41 +00:00
|
|
|
version = "3.0";
|
2017-09-17 08:59:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 11:22:41 +00:00
|
|
|
sha256 = "acc10e10909f0f956ba1b42b6c450ea0bdaaa27b3942899f65931396cfcdd36a";
|
2017-09-17 08:59:56 +01:00
|
|
|
};
|
|
|
|
|
2018-02-19 00:41:02 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://github.com/vstinner/faulthandler/commit/67b661e.patch;
|
|
|
|
sha256 = "1nn8c9nq5qypja949hzz0n4yprsyr63wihf5g3gwrinm2nkjnnv7";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://github.com/vstinner/faulthandler/commit/07cbb7b.patch;
|
|
|
|
sha256 = "0fh6rjyjw7z1hsiy3sgdc8j9mncg1vlv3y0h4bplqyw18vq3srb3";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2017-09-17 08:59:56 +01:00
|
|
|
meta = {
|
|
|
|
description = "Dump the Python traceback";
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sauyon ];
|
|
|
|
homepage = http://faulthandler.readthedocs.io/;
|
|
|
|
};
|
|
|
|
}
|