Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

colord: fix udev rules, add sane support

(cherry picked from commit cf9ddb27d6aa53826f7191cbddb561a05554018c)

authored by Nikolay Amiantov and committed by Bjørn Forsman d445ad75 f4aa57ac

+4 -3
+4 -3
pkgs/tools/misc/colord/default.nix
··· 1 { stdenv, fetchzip, fetchgit, bashCompletion 2 , glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus 3 , automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection, argyllcms 4 - , libgudev }: 5 6 stdenv.mkDerivation rec { 7 name = "colord-1.2.12"; ··· 14 enableParallelBuilding = true; 15 16 configureFlags = [ 17 - "--with-udevrulesdir=$out/lib/udev/rules.d" 18 "--with-systemdsystemunitdir=$(out)/etc/systemd/system" 19 "--localstatedir=/var" 20 "--disable-bash-completion" ··· 27 ''; 28 29 buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection 30 - bashCompletion argyllcms automake autoconf libgudev ]; 31 32 postInstall = '' 33 mkdir -p $out/etc/bash_completion.d
··· 1 { stdenv, fetchzip, fetchgit, bashCompletion 2 , glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus 3 , automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection, argyllcms 4 + , libgudev, sane-backends }: 5 6 stdenv.mkDerivation rec { 7 name = "colord-1.2.12"; ··· 14 enableParallelBuilding = true; 15 16 configureFlags = [ 17 + "--enable-sane" 18 + "--with-udevrulesdir=$(out)/lib/udev/rules.d" 19 "--with-systemdsystemunitdir=$(out)/etc/systemd/system" 20 "--localstatedir=/var" 21 "--disable-bash-completion" ··· 28 ''; 29 30 buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection 31 + bashCompletion argyllcms automake autoconf libgudev sane-backends ]; 32 33 postInstall = '' 34 mkdir -p $out/etc/bash_completion.d