Author: raskin
Date: Wed Nov 17 13:11:41 2010
New Revision: 24733
URL: https://svn.nixos.org/websvn/nix/?rev=24733&sc=1

Log:
Add gst-python

Added:
   
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gstreamer/gst-python/
   
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gstreamer/gst-python/default.nix
Modified:
   
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gstreamer/default.nix

Modified: 
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gstreamer/default.nix
==============================================================================
--- 
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gstreamer/default.nix
    Wed Nov 17 13:00:01 2010        (r24732)
+++ 
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gstreamer/default.nix
    Wed Nov 17 13:11:41 2010        (r24733)
@@ -13,6 +13,8 @@
 
   gnonlin = callPackage ./gnonlin { };
 
+  gst_python = callPackage ./gst-python {};
+
   # Header files are in include/${prefix}/
   prefix = "gstreamer-0.10";
 }

Added: 
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gstreamer/gst-python/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ 
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gstreamer/gst-python/default.nix
 Wed Nov 17 13:11:41 2010        (r24733)
@@ -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+";
+  };
+}
+
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to