2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-10-02 17:04:39 +00:00
|
|
|
, fetchurl
|
2022-02-05 21:09:47 +00:00
|
|
|
, cairo
|
2020-10-01 22:31:58 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-10-02 17:04:39 +00:00
|
|
|
, gstreamer
|
|
|
|
, gst-plugins-base
|
2022-08-09 09:47:24 +00:00
|
|
|
, gst-plugins-bad
|
|
|
|
, gst-rtsp-server
|
2019-12-25 06:28:58 +00:00
|
|
|
, python3
|
2019-10-02 17:04:39 +00:00
|
|
|
, gobject-introspection
|
|
|
|
, json-glib
|
2023-04-18 23:23:00 +00:00
|
|
|
# Checks meson.is_cross_build(), so even canExecute isn't enough.
|
|
|
|
, enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform, hotdoc
|
2015-12-05 10:58:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-10-01 22:31:58 +00:00
|
|
|
pname = "gst-devtools";
|
2024-05-22 14:48:44 +00:00
|
|
|
version = "1.24.3";
|
2015-12-05 10:58:06 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-04 20:01:51 +00:00
|
|
|
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
|
2024-05-22 14:48:44 +00:00
|
|
|
hash = "sha256-uREUov2Vj0Ks9EEYbofivsk1OO81qfgkgREZc2D/sjc=";
|
2015-12-05 10:58:06 +00:00
|
|
|
};
|
|
|
|
|
2020-10-01 22:31:58 +00:00
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
];
|
2016-04-24 12:39:30 +00:00
|
|
|
|
2022-07-07 18:30:16 +00:00
|
|
|
depsBuildBuild = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
2015-12-05 10:58:06 +00:00
|
|
|
nativeBuildInputs = [
|
2020-10-01 22:31:58 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-10-02 17:04:39 +00:00
|
|
|
gobject-introspection
|
2023-04-18 23:23:00 +00:00
|
|
|
] ++ lib.optionals enableDocumentation [
|
2023-04-13 16:40:14 +00:00
|
|
|
hotdoc
|
2015-12-05 10:58:06 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-02-05 21:09:47 +00:00
|
|
|
cairo
|
2019-12-25 06:28:58 +00:00
|
|
|
python3
|
2019-10-02 17:04:39 +00:00
|
|
|
json-glib
|
2015-12-05 10:58:06 +00:00
|
|
|
];
|
|
|
|
|
2019-10-02 17:04:39 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
gstreamer
|
|
|
|
gst-plugins-base
|
2022-08-09 09:47:24 +00:00
|
|
|
gst-plugins-bad
|
|
|
|
gst-rtsp-server
|
2019-01-21 01:48:04 +00:00
|
|
|
];
|
2019-10-02 17:04:39 +00:00
|
|
|
|
2023-04-18 23:23:00 +00:00
|
|
|
mesonFlags = [
|
|
|
|
(lib.mesonEnable "doc" enableDocumentation)
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-10-02 17:04:39 +00:00
|
|
|
description = "Integration testing infrastructure for the GStreamer framework";
|
|
|
|
homepage = "https://gstreamer.freedesktop.org";
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2019-10-02 17:04:39 +00:00
|
|
|
};
|
2015-12-05 10:58:06 +00:00
|
|
|
}
|