diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-09-18 20:24:19 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-09-18 20:38:18 +0800 |
commit | 38812685ed319756f0b41a216ee4419ae2e0f8cd (patch) | |
tree | a70207efa092c4c2bf5e4709ef1d8b869d120e31 /pkgs/development | |
parent | 60d1c0cfd18b595391c1e3450bb0dd9e4a3c6d82 (diff) | |
download | nixlib-38812685ed319756f0b41a216ee4419ae2e0f8cd.tar nixlib-38812685ed319756f0b41a216ee4419ae2e0f8cd.tar.gz nixlib-38812685ed319756f0b41a216ee4419ae2e0f8cd.tar.bz2 nixlib-38812685ed319756f0b41a216ee4419ae2e0f8cd.tar.lz nixlib-38812685ed319756f0b41a216ee4419ae2e0f8cd.tar.xz nixlib-38812685ed319756f0b41a216ee4419ae2e0f8cd.tar.zst nixlib-38812685ed319756f0b41a216ee4419ae2e0f8cd.zip |
gst-python -> pythonPackages.gst-python
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/gstreamer/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/gstreamer/python/default.nix | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/development/libraries/gstreamer/default.nix b/pkgs/development/libraries/gstreamer/default.nix index 6ec5e5d9e0a5..7d349f31e044 100644 --- a/pkgs/development/libraries/gstreamer/default.nix +++ b/pkgs/development/libraries/gstreamer/default.nix @@ -13,8 +13,6 @@ rec { gst-libav = callPackage ./libav { inherit gst-plugins-base; }; - gst-python = callPackage ./python { inherit gst-plugins-base gstreamer; }; - gnonlin = callPackage ./gnonlin { inherit gst-plugins-base; }; gst-editing-services = callPackage ./ges { inherit gnonlin; }; diff --git a/pkgs/development/libraries/gstreamer/python/default.nix b/pkgs/development/libraries/gstreamer/python/default.nix index a91b5d81bb32..c1b94a647b88 100644 --- a/pkgs/development/libraries/gstreamer/python/default.nix +++ b/pkgs/development/libraries/gstreamer/python/default.nix @@ -1,5 +1,6 @@ -{ fetchurl, stdenv, pkgconfig, python, gstreamer - , gst-plugins-base, pygtk, pygobject3 +{ fetchurl, stdenv, pkgconfig, python +, gst-plugins-base, pygobject3 +, ncurses }: stdenv.mkDerivation rec { @@ -15,15 +16,16 @@ stdenv.mkDerivation rec { patches = [ ./different-path-with-pygobject.patch ]; - buildInputs = - [ pkgconfig gst-plugins-base pygtk pygobject3 ] - ; + nativeBuildInputs = [ pkgconfig python ]; + + # XXX: in the Libs.private field of python3.pc + buildInputs = [ ncurses ]; preConfigure = '' export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.libPrefix}/site-packages/gi/overrides" ''; - propagatedBuildInputs = [ gstreamer python ]; + propagatedBuildInputs = [ gst-plugins-base pygobject3 ]; meta = { homepage = http://gstreamer.freedesktop.org; |