From 6f700142c4a5794b349e6233c3e964a3de15407e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 28 Sep 2012 22:56:13 -0400 Subject: [PATCH] cups: Drop unused dependencies and add libusb1 dependency --- pkgs/misc/cups/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index 630183805806..bf55182058b7 100644 --- a/pkgs/misc/cups/default.nix +++ b/pkgs/misc/cups/default.nix @@ -1,5 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, zlib, libjpeg, libpng, libtiff, pam, openssl -, dbus, libusb, acl }: +{ stdenv, fetchurl, pkgconfig, zlib, pam, openssl, dbus, libusb1, acl }: let version = "1.6.1"; in @@ -13,7 +12,7 @@ stdenv.mkDerivation { sha256 = "143pk8a0kqqr7m9j0b8c9h2nn0zf6awpivk7wq7iclz68h8snhjq"; }; - buildInputs = [ pkgconfig zlib libjpeg libpng libtiff libusb ] + buildInputs = [ pkgconfig zlib libusb1 ] ++ stdenv.lib.optionals stdenv.isLinux [ pam dbus acl ] ; propagatedBuildInputs = [ openssl ];