mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 03:55:44 +03:00
matplotlib: fix pkgconfig situation
We need pkgs.pkgconfig, and not pythonPackages.pkgconfig.
This commit is contained in:
parent
d40bd10e68
commit
4256099a33
3 changed files with 7 additions and 2 deletions
|
@ -34,13 +34,15 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
XDG_RUNTIME_DIR = "/tmp";
|
XDG_RUNTIME_DIR = "/tmp";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ python which sphinx stdenv ]
|
buildInputs = [ python which sphinx stdenv ]
|
||||||
++ stdenv.lib.optional enableGhostscript ghostscript
|
++ stdenv.lib.optional enableGhostscript ghostscript
|
||||||
++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ];
|
++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ];
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ cycler dateutil nose numpy pyparsing tornado freetype kiwisolver
|
[ cycler dateutil nose numpy pyparsing tornado freetype kiwisolver
|
||||||
libpng pkgconfig mock pytz ]
|
libpng mock pytz ]
|
||||||
++ stdenv.lib.optional (pythonOlder "3.3") backports_functools_lru_cache
|
++ stdenv.lib.optional (pythonOlder "3.3") backports_functools_lru_cache
|
||||||
++ stdenv.lib.optional enableGtk2 pygtk
|
++ stdenv.lib.optional enableGtk2 pygtk
|
||||||
++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobject-introspection pygobject3 ]
|
++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobject-introspection pygobject3 ]
|
||||||
|
|
|
@ -35,13 +35,15 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
XDG_RUNTIME_DIR = "/tmp";
|
XDG_RUNTIME_DIR = "/tmp";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ python which sphinx stdenv ]
|
buildInputs = [ python which sphinx stdenv ]
|
||||||
++ stdenv.lib.optional enableGhostscript ghostscript
|
++ stdenv.lib.optional enableGhostscript ghostscript
|
||||||
++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ];
|
++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ];
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ cycler dateutil nose numpy pyparsing tornado freetype kiwisolver
|
[ cycler dateutil nose numpy pyparsing tornado freetype kiwisolver
|
||||||
libpng pkgconfig mock pytz ]
|
libpng mock pytz ]
|
||||||
++ stdenv.lib.optional (pythonOlder "3.3") backports_functools_lru_cache
|
++ stdenv.lib.optional (pythonOlder "3.3") backports_functools_lru_cache
|
||||||
++ stdenv.lib.optional enableGtk2 pygtk
|
++ stdenv.lib.optional enableGtk2 pygtk
|
||||||
++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobject-introspection pygobject3 ]
|
++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobject-introspection pygobject3 ]
|
||||||
|
|
|
@ -3058,6 +3058,7 @@ in {
|
||||||
in callPackage path {
|
in callPackage path {
|
||||||
stdenv = if stdenv.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
|
stdenv = if stdenv.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
|
||||||
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
|
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
|
||||||
|
inherit (pkgs) pkgconfig;
|
||||||
};
|
};
|
||||||
|
|
||||||
matrix-client = callPackage ../development/python-modules/matrix-client { };
|
matrix-client = callPackage ../development/python-modules/matrix-client { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue