nixpkgs/pkgs/development/libraries/gstreamer/core/default.nix

28 lines
728 B
Nix

{ stdenv, fetchurl, pkgconfig, perl, bison, flex, python, gobjectIntrospection
, glib
}:
stdenv.mkDerivation rec {
name = "gstreamer-1.2.3";
meta = {
description = "Open source multimedia framework";
homepage = "http://gstreamer.freedesktop.org";
license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
};
src = fetchurl {
url = "${meta.homepage}/src/gstreamer/${name}.tar.xz";
sha256 = "1syqn0kki5disx01q3y0z6p5qhr2a5g388wc6s649cw4lcbri6hg";
};
nativeBuildInputs = [
pkgconfig perl bison flex python gobjectIntrospection
];
propagatedBuildInputs = [ glib ];
setupHook = ./setup-hook.sh;
}