2015-12-05 02:58:06 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gstreamer, gst-plugins-base
|
2018-12-02 03:41:15 -08:00
|
|
|
, python, gobject-introspection, json-glib
|
2015-12-05 02:58:06 -08:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "gst-validate";
|
2019-05-01 07:10:36 -07:00
|
|
|
version = "1.16.0";
|
2015-12-05 02:58:06 -08:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Integration testing infrastructure for the GStreamer framework";
|
2017-09-16 12:28:31 -07:00
|
|
|
homepage = https://gstreamer.freedesktop.org;
|
2015-12-05 02:58:06 -08:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-10-02 09:59:16 -07:00
|
|
|
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
|
2019-05-01 07:10:36 -07:00
|
|
|
sha256 = "1jfnd0g9hmdbqfxsx96yc9vpf1w6m33hqwrr6lj4i83kl54awcck";
|
2015-12-05 02:58:06 -08:00
|
|
|
};
|
|
|
|
|
2016-08-28 17:30:01 -07:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-24 05:39:30 -07:00
|
|
|
|
2015-12-05 02:58:06 -08:00
|
|
|
nativeBuildInputs = [
|
2018-12-02 03:41:15 -08:00
|
|
|
pkgconfig gobject-introspection
|
2015-12-05 02:58:06 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-02-24 18:23:58 -08:00
|
|
|
python json-glib
|
2015-12-05 02:58:06 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gstreamer gst-plugins-base ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2019-01-20 17:48:04 -08:00
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
# Enables all features, so that we know when new dependencies are necessary.
|
|
|
|
"-Dauto_features=enabled"
|
|
|
|
];
|
2015-12-05 02:58:06 -08:00
|
|
|
}
|