Add gst-python

svn path=/nixpkgs/branches/stdenv-updates/; revision=24733
This commit is contained in:
Michael Raskin 2010-11-17 13:11:41 +00:00
parent c308846055
commit 0cfdfadc73
2 changed files with 32 additions and 0 deletions

View file

@ -13,6 +13,8 @@ rec {
gnonlin = callPackage ./gnonlin { };
gst_python = callPackage ./gst-python {};
# Header files are in include/${prefix}/
prefix = "gstreamer-0.10";
}

View file

@ -0,0 +1,30 @@
{ fetchurl, stdenv, pkgconfig, python, gstreamer
, gstPluginsBase, pygtk
}:
stdenv.mkDerivation rec {
name = "gst-python-0.10.19";
src = fetchurl {
urls = [
"${meta.homepage}/src/gst-python/${name}.tar.bz2"
"mirror://gentoo/distfiles/${name}.tar.bz2"
];
sha256 = "956f81a8c15daa3f17e688a0dc5a5d18a3118141066952d3b201a6ac0c52b415";
};
buildInputs =
[ pkgconfig gstPluginsBase pygtk ]
;
propagatedBuildInputs = [ gstreamer python ];
meta = {
homepage = http://gstreamer.freedesktop.org;
description = "Python bindings for GStreamer";
license = "LGPLv2+";
};
}