Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
69 lines
1.4 KiB
Nix
69 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
fetchpatch,
|
|
pkg-config,
|
|
file,
|
|
glibmm,
|
|
gst_all_1,
|
|
gnome,
|
|
apple-sdk_gstreamer,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gstreamermm";
|
|
version = "1.10.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0q4dx9sncqbwgpzma0zvj6zssc279yl80pn8irb95qypyyggwn5y";
|
|
};
|
|
|
|
patches = [
|
|
(fetchpatch {
|
|
name = "${pname}-${version}.fix-build-against-glib-2.68.patch";
|
|
url = "https://gitlab.gnome.org/GNOME/gstreamermm/-/commit/37116547fb5f9066978e39b4cf9f79f2154ad425.patch";
|
|
sha256 = "sha256-YHtmOiOl4POwas3eWHsew3IyGK7Aq22MweBm3JPwyBM=";
|
|
})
|
|
];
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
|
apple-sdk_gstreamer
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
file
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
glibmm
|
|
gst_all_1.gst-plugins-base
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
attrPath = "gst_all_1.gstreamermm";
|
|
packageName = "gstreamermm";
|
|
versionPolicy = "odd-unstable";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "C++ interface for GStreamer";
|
|
homepage = "https://gstreamer.freedesktop.org/bindings/cplusplus.html";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
|
|
}
|