nixpkgs-suyu/pkgs/development/libraries/gstreamer/gstreamermm/default.nix

35 lines
959 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, file, glibmm, gst_all_1, gnome3 }:
2016-03-18 13:11:51 +01:00
stdenv.mkDerivation rec {
pname = "gstreamermm";
version = "1.10.0";
2016-03-18 13:11:51 +01:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2018-01-12 19:52:29 +01:00
sha256 = "0q4dx9sncqbwgpzma0zvj6zssc279yl80pn8irb95qypyyggwn5y";
2016-03-18 13:11:51 +01:00
};
2016-04-24 14:39:30 +02:00
outputs = [ "out" "dev" ];
2016-04-24 14:39:30 +02:00
2016-03-18 13:11:51 +01:00
nativeBuildInputs = [ pkgconfig file ];
propagatedBuildInputs = [ glibmm gst_all_1.gst-plugins-base ];
enableParallelBuilding = true;
2016-04-24 14:39:30 +02:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none"; # Unpredictable version stability
};
};
2016-03-18 13:11:51 +01:00
meta = with stdenv.lib; {
description = "C++ interface for GStreamer";
homepage = "https://gstreamer.freedesktop.org/bindings/cplusplus.html";
2016-03-18 13:11:51 +01:00
license = licenses.lgpl21Plus;
2018-03-18 22:22:27 +01:00
platforms = platforms.linux;
2018-01-12 19:52:29 +01:00
maintainers = with maintainers; [ romildo ];
2016-03-18 13:11:51 +01:00
};
}