cups: Split into multiple outputs

However, splitting off the client library from the server-side stuff
still remains to be done.
This commit is contained in:
Eelco Dolstra 2013-06-11 14:52:36 +02:00
parent 2c9fa33521
commit 5787ac6364
2 changed files with 12 additions and 1 deletions

View File

@ -13,6 +13,9 @@ stdenv.mkDerivation {
md5 = "de3006e5cf1ee78a9c6145ce62c4e982";
};
# FIXME: Split off the cups client library.
outputs = [ "dev" "out" "doc" "man" ];
buildInputs = [ pkgconfig zlib libjpeg libpng libtiff libusb1 ]
++ stdenv.lib.optionals stdenv.isLinux [ pam dbus acl ] ;
@ -38,6 +41,12 @@ stdenv.mkDerivation {
"CUPS_PRIMARY_SYSTEM_GROUP=root"
];
postInstall =
''
mkdir $dev/bin
mv $out/bin/cups-config $dev/bin/
'';
meta = {
homepage = "http://www.cups.org/";
description = "A standards-based printing system for UNIX";

View File

@ -9185,7 +9185,9 @@ let
auctex = callPackage ../tools/typesetting/tex/auctex { };
cups = callPackage ../misc/cups { };
cups = callPackage ../misc/cups {
stdenv = stdenvMulti;
};
cups_pdf_filter = callPackage ../misc/cups/pdf-filter.nix { };