mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python.pkgs.gst-python: fix Python 3 build
This commit is contained in:
parent
c0769dc6ef
commit
f913554432
1 changed files with 10 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
||||||
{ fetchurl, stdenv, pkgconfig, pythonPackages
|
{ fetchurl, stdenv, pkgconfig, python, pygobject3
|
||||||
, gst-plugins-base
|
, gst-plugins-base, ncurses
|
||||||
, ncurses
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
inherit (pythonPackages) python pygobject3;
|
pname = "gst-python";
|
||||||
in stdenv.mkDerivation rec {
|
version = "1.10.4";
|
||||||
name = "gst-python-1.10.4";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
|
@ -26,11 +25,14 @@ in stdenv.mkDerivation rec {
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.libPrefix}/site-packages/gi/overrides"
|
export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.sitePackages}/gi/overrides"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ gst-plugins-base pygobject3 ];
|
propagatedBuildInputs = [ gst-plugins-base pygobject3 ];
|
||||||
|
|
||||||
|
# Needed for python.buildEnv
|
||||||
|
passthru.pythonPath = [];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://gstreamer.freedesktop.org;
|
homepage = http://gstreamer.freedesktop.org;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue