From 98381679c82bcd1970276f444ca37e806e80e43a Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 11 Jun 2020 12:10:11 +0200 Subject: [PATCH] python.pkgs.nbsphinx: python3 only --- pkgs/development/python-modules/nbsphinx/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/nbsphinx/default.nix b/pkgs/development/python-modules/nbsphinx/default.nix index 551837cf29ea..9b96bc12d647 100644 --- a/pkgs/development/python-modules/nbsphinx/default.nix +++ b/pkgs/development/python-modules/nbsphinx/default.nix @@ -8,6 +8,7 @@ , sphinx , traitlets , python +, isPy3k }: buildPythonPackage rec { @@ -32,6 +33,8 @@ buildPythonPackage rec { ${python.interpreter} -m nbsphinx ''; + disabled = !isPy3k; + meta = with lib; { description = "Jupyter Notebook Tools for Sphinx"; homepage = "https://nbsphinx.readthedocs.io/";