about summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorSauyon Lee2017-09-17 08:59:56 +0100
committerRobert Helgesson2017-11-05 21:35:58 +0100
commit9e2f54a30ca1818732385d66a2534d91deed55a7 (patch)
tree3aae2523ffc210b4fa3c0cc6ed5688adbb70d1c3 /pkgs/top-level
parent1130f1eaf6e7168295137ab0ff971fa7dd28439f (diff)
python.pkgs.faulthandler: init at 2.6
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/python-packages.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 0ae7d8f2bea8..f69312a7ca3b 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -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 { };