You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
44 lines
1.0 KiB
7 years ago
|
{ fetchurl, stdenv, pkgconfig, python, pygobject3
|
||
|
, gst-plugins-base, ncurses
|
||
11 years ago
|
}:
|
||
|
|
||
7 years ago
|
stdenv.mkDerivation rec {
|
||
|
pname = "gst-python";
|
||
|
version = "1.10.4";
|
||
|
name = "${pname}-${version}";
|
||
11 years ago
|
|
||
|
src = fetchurl {
|
||
|
urls = [
|
||
10 years ago
|
"${meta.homepage}/src/gst-python/${name}.tar.xz"
|
||
|
"mirror://gentoo/distfiles/${name}.tar.xz"
|
||
11 years ago
|
];
|
||
7 years ago
|
sha256 = "04l2hvvz9b0f3nyds1k3yfk5di8a91fpr6maj19c11mwp1s82l2r";
|
||
11 years ago
|
};
|
||
|
|
||
10 years ago
|
patches = [ ./different-path-with-pygobject.patch ];
|
||
|
|
||
8 years ago
|
outputs = [ "out" "dev" ];
|
||
8 years ago
|
|
||
9 years ago
|
nativeBuildInputs = [ pkgconfig python ];
|
||
|
|
||
|
# XXX: in the Libs.private field of python3.pc
|
||
|
buildInputs = [ ncurses ];
|
||
11 years ago
|
|
||
|
preConfigure = ''
|
||
7 years ago
|
export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.sitePackages}/gi/overrides"
|
||
11 years ago
|
'';
|
||
|
|
||
9 years ago
|
propagatedBuildInputs = [ gst-plugins-base pygobject3 ];
|
||
10 years ago
|
|
||
7 years ago
|
# Needed for python.buildEnv
|
||
|
passthru.pythonPath = [];
|
||
|
|
||
11 years ago
|
meta = {
|
||
|
homepage = http://gstreamer.freedesktop.org;
|
||
|
|
||
|
description = "Python bindings for GStreamer";
|
||
|
|
||
10 years ago
|
license = stdenv.lib.licenses.lgpl2Plus;
|
||
11 years ago
|
};
|
||
|
}
|