From 5ad0a4522116007420aeb288f76da241f43cb6bf Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 12 Sep 2019 23:00:39 +0200 Subject: gnu: python-matplotlib-documentation: Add missing input. * gnu/packages/python-xyz.scm (python-matplotlib-documentation)[native-inputs]: Add python-sphinx-copybutton. (python2-matplotlib-documentation)[native-inputs]: Remove python-sphinx-copybutton. --- gnu/packages/python-xyz.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1a4c804f37..4541604873 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3960,6 +3960,7 @@ toolkits.") `(("python-matplotlib" ,python-matplotlib) ("python-colorspacious" ,python-colorspacious) ("python-sphinx" ,python-sphinx) + ("python-sphinx-copybutton" ,python-sphinx-copybutton) ("python-sphinx-gallery" ,python-sphinx-gallery) ("python-numpydoc" ,python-numpydoc) ("python-ipython" ,python-ipython) @@ -4037,7 +4038,12 @@ toolkits.") (license (package-license python-matplotlib)))) (define-public python2-matplotlib-documentation - (package-with-python2 python-matplotlib-documentation)) + (let ((parent (package-with-python2 python-matplotlib-documentation))) + (package + (inherit parent) + (native-inputs + (alist-delete "python-sphinx-copybutton" + (package-native-inputs parent)))))) (define-public python-matplotlib-venn (package -- cgit 1.4.1