lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at release-16.03-start 34 lines 1.0 kB view raw
1{ stdenv, fetchurl, pkgconfig, perl, bison, flex, python, gobjectIntrospection 2, glib, makeWrapper 3}: 4 5stdenv.mkDerivation rec { 6 name = "gstreamer-1.6.1"; 7 8 meta = { 9 description = "Open source multimedia framework"; 10 homepage = "http://gstreamer.freedesktop.org"; 11 license = stdenv.lib.licenses.lgpl2Plus; 12 platforms = stdenv.lib.platforms.unix; 13 maintainers = with stdenv.lib.maintainers; [ iyzsong ]; 14 }; 15 16 src = fetchurl { 17 url = "${meta.homepage}/src/gstreamer/${name}.tar.xz"; 18 sha256 = "172w1bpnkn6mm1wi37n03apdbb6cdkykhzjf1vfxchcd7hhkyflp"; 19 }; 20 21 nativeBuildInputs = [ 22 pkgconfig perl bison flex python gobjectIntrospection makeWrapper 23 ]; 24 25 propagatedBuildInputs = [ glib ]; 26 27 postInstall = '' 28 for prog in "$out/bin/"*; do 29 wrapProgram "$prog" --prefix GST_PLUGIN_SYSTEM_PATH : "\$(unset _tmp; for profile in \$NIX_PROFILES; do _tmp="\$profile/lib/gstreamer-1.0''$\{_tmp:+:\}\$_tmp"; done; printf "\$_tmp")" 30 done 31 ''; 32 33 setupHook = ./setup-hook.sh; 34}