46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
40 lines
957 B
Nix
40 lines
957 B
Nix
{ stdenv, fetchurl, pkgconfig, gstreamer, gst-plugins-base
|
|
, python, gobject-introspection, json-glib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gst-validate";
|
|
version = "1.16.0";
|
|
|
|
meta = {
|
|
description = "Integration testing infrastructure for the GStreamer framework";
|
|
homepage = https://gstreamer.freedesktop.org;
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/src/gst-validate/${pname}-${version}.tar.xz";
|
|
sha256 = "1jfnd0g9hmdbqfxsx96yc9vpf1w6m33hqwrr6lj4i83kl54awcck";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
python json-glib
|
|
];
|
|
|
|
propagatedBuildInputs = [ gstreamer gst-plugins-base ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
mesonFlags = [
|
|
# Enables all features, so that we know when new dependencies are necessary.
|
|
"-Dauto_features=enabled"
|
|
];
|
|
}
|