about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sphinxcontrib-jsmath
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-08-14 23:04:58 -0700
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2020-08-15 12:10:18 +0200
commit375611df00b01c668fd82fc0632cd8aec826b5ec (patch)
tree9912ff65298aab1319d38d5180dcd9c61480e2ae /pkgs/development/python-modules/sphinxcontrib-jsmath
parent78c735c76fd1f6cb734b0bbb0e40b4fc6e60a3cc (diff)
pythonPackages.sphinxcontrib-jsmath: disable python2
```
  Processing ./sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl
  ERROR: Package 'sphinxcontrib-jsmath' requires a different Python: 2.7.18 not in '>=3.5'
```
Diffstat (limited to 'pkgs/development/python-modules/sphinxcontrib-jsmath')
-rw-r--r--pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix b/pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix
index 6c860cafa59fb..9b1d93287b03c 100644
--- a/pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix
+++ b/pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix
@@ -1,11 +1,13 @@
 { stdenv
 , buildPythonPackage
 , fetchPypi
+, isPy27
 }:
 
 buildPythonPackage rec {
   pname = "sphinxcontrib-jsmath";
   version = "1.0.1";
+  disabled = isPy27;
 
   src = fetchPypi {
     inherit pname version;