mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:21:57 +03:00
python.pkgs.faulthandler: init at 2.6
This commit is contained in:
parent
1130f1eaf6
commit
9e2f54a30c
19
pkgs/development/python-modules/faulthandler/default.nix
Normal file
19
pkgs/development/python-modules/faulthandler/default.nix
Normal 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/;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user