mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 08:34:50 +00:00
4d9fb0a594
This will make callPackage work with gst. * Rename gstCamelCase to gst_with_underscores. * Add compatibility attributes. svn path=/nixpkgs/trunk/; revision=33078
31 lines
633 B
Nix
31 lines
633 B
Nix
{ fetchurl, stdenv, pkgconfig, python, gstreamer
|
|
, gst_plugins_base, 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 gst_plugins_base pygtk ]
|
|
;
|
|
|
|
propagatedBuildInputs = [ gstreamer python ];
|
|
|
|
meta = {
|
|
homepage = http://gstreamer.freedesktop.org;
|
|
|
|
description = "Python bindings for GStreamer";
|
|
|
|
license = "LGPLv2+";
|
|
};
|
|
}
|
|
|