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