v4l-utils: use qt5's mkDerivation

Fixes

  qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

See https://github.com/NixOS/nixpkgs/issues/65399
This commit is contained in:
Bjørn Forsman 2019-08-07 20:34:49 +02:00
parent a26168ff46
commit f6763cc130

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, pkgconfig, perl
{ stdenv, lib, fetchurl, pkgconfig, perl, mkDerivation
, libjpeg, udev
, withUtils ? true
, withGUI ? true, alsaLib, libX11, qtbase, libGLU
@ -6,7 +6,7 @@
# See libv4l in all-packages.nix for the libs only (overrides alsa, libX11 & QT)
stdenv.mkDerivation rec {
mkDerivation rec {
name = "v4l-utils-${version}";
version = "1.16.6";