2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv
|
2019-10-02 10:04:39 -07:00
|
|
|
, fetchurl
|
2020-10-01 15:31:58 -07:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-18 22:50:56 -08:00
|
|
|
, pkg-config
|
2019-10-02 10:04:39 -07:00
|
|
|
, gstreamer
|
|
|
|
, gst-plugins-base
|
2019-12-24 22:28:58 -08:00
|
|
|
, python3
|
2019-10-02 10:04:39 -07:00
|
|
|
, gobject-introspection
|
|
|
|
, json-glib
|
2015-12-05 02:58:06 -08:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-10-01 15:31:58 -07:00
|
|
|
pname = "gst-devtools";
|
2020-12-06 17:15:03 -08:00
|
|
|
version = "1.18.2";
|
2015-12-05 02:58:06 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-04 12:01:51 -08:00
|
|
|
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
|
2020-12-06 17:15:03 -08:00
|
|
|
sha256 = "0mhascwvgirgh7b5dykpnk06f7f5g62gh3sl30i6kygiidqkv9vf";
|
2015-12-05 02:58:06 -08:00
|
|
|
};
|
|
|
|
|
2020-10-01 15:31:58 -07:00
|
|
|
patches = [
|
|
|
|
./fix_pkgconfig_includedir.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
# "devdoc" # disabled until `hotdoc` is packaged in nixpkgs
|
|
|
|
];
|
2016-04-24 05:39:30 -07:00
|
|
|
|
2015-12-05 02:58:06 -08:00
|
|
|
nativeBuildInputs = [
|
2020-10-01 15:31:58 -07:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-18 22:50:56 -08:00
|
|
|
pkg-config
|
2019-10-02 10:04:39 -07:00
|
|
|
gobject-introspection
|
2020-10-01 15:31:58 -07:00
|
|
|
|
|
|
|
# documentation
|
|
|
|
# TODO add hotdoc here
|
2015-12-05 02:58:06 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-12-24 22:28:58 -08:00
|
|
|
python3
|
2019-10-02 10:04:39 -07:00
|
|
|
json-glib
|
2015-12-05 02:58:06 -08:00
|
|
|
];
|
|
|
|
|
2019-10-02 10:04:39 -07:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
gstreamer
|
|
|
|
gst-plugins-base
|
2019-01-20 17:48:04 -08:00
|
|
|
];
|
2019-10-02 10:04:39 -07:00
|
|
|
|
2020-10-01 15:31:58 -07:00
|
|
|
mesonFlags = [
|
|
|
|
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
|
|
|
|
];
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2019-10-02 10:04:39 -07:00
|
|
|
description = "Integration testing infrastructure for the GStreamer framework";
|
|
|
|
homepage = "https://gstreamer.freedesktop.org";
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2015-12-05 02:58:06 -08:00
|
|
|
}
|