nixpkgs/pkgs/development/libraries/gstreamer/validate/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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"
];
}