Merge pull request #18025 from knedlsepp/fix-python3.5-jupyter-1.0.0

python3.5-jupyter: Fix build issue #17902
This commit is contained in:
Frederik Rietdijk
2016-09-10 11:28:48 +02:00
committed by GitHub
5 changed files with 17 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
{ lib, fetchurl, mkPythonDerivation, python, pkgconfig, glib, gobjectIntrospection, pycairo, cairo }:
{ stdenv, fetchurl, mkPythonDerivation, python, pkgconfig, glib, gobjectIntrospection, pycairo, cairo, which, ncurses}:
mkPythonDerivation rec {
major = "3.20";
@@ -10,12 +10,13 @@ mkPythonDerivation rec {
sha256 = "0ikzh3l7g1gjh8jj8vg6mdvrb25svp63gxcam4m0i404yh0lgari";
};
buildInputs = [ pkgconfig glib gobjectIntrospection ];
buildInputs = [ pkgconfig glib gobjectIntrospection ]
++ stdenv.lib.optionals stdenv.isDarwin [ which ncurses ];
propagatedBuildInputs = [ pycairo cairo ];
meta = {
homepage = http://live.gnome.org/PyGObject;
description = "Python bindings for Glib";
platforms = lib.platforms.unix;
platforms = stdenv.lib.platforms.unix;
};
}