python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / gstreamer / gstreamermm / default.nix
blob40186664284ee688da9bc3bd9d46afd18021f20f
1 { lib
2 , stdenv
3 , fetchurl
4 , fetchpatch
5 , pkg-config
6 , file
7 , glibmm
8 , gst_all_1
9 , gnome
12 stdenv.mkDerivation rec {
13   pname = "gstreamermm";
14   version = "1.10.0";
16   src = fetchurl {
17     url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
18     sha256 = "0q4dx9sncqbwgpzma0zvj6zssc279yl80pn8irb95qypyyggwn5y";
19   };
21   patches = [
22     (fetchpatch {
23       name = "${pname}-${version}.fix-build-against-glib-2.68.patch";
24       url = "https://gitlab.gnome.org/GNOME/gstreamermm/-/commit/37116547fb5f9066978e39b4cf9f79f2154ad425.patch";
25       sha256 = "sha256-YHtmOiOl4POwas3eWHsew3IyGK7Aq22MweBm3JPwyBM=";
26     })
27   ];
29   outputs = [ "out" "dev" ];
31   nativeBuildInputs = [
32     pkg-config
33     file
34   ];
36   propagatedBuildInputs = [
37     glibmm
38     gst_all_1.gst-plugins-base
39   ];
41   enableParallelBuilding = true;
43   passthru = {
44     updateScript = gnome.updateScript {
45       attrPath = "gst_all_1.gstreamermm";
46       packageName = "gstreamermm";
47       versionPolicy = "odd-unstable";
48     };
49   };
51   meta = with lib; {
52     description = "C++ interface for GStreamer";
53     homepage = "https://gstreamer.freedesktop.org/bindings/cplusplus.html";
54     license = licenses.lgpl21Plus;
55     platforms = platforms.linux;
56     maintainers = with maintainers; [ romildo ];
57   };