git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "cups: 1.7.5 -> 2.0.2"

This reverts commit 032859faba7174ef69f96b53bc07d544fba5e871. Conflicts: pkgs/misc/cups/default.nix Breaks nixos printing tests, see https://github.com/NixOS/nixpkgs/commit/032859faba7174ef69f96b53bc07d544fba5e871#commitcomment-10495609

commit146eb665d0fd660260992b7730ddab9af5801239 authorDomen Kožar <domen@dev.si> dateTue 31 Mar 2015, 16:50 (12 years ago) parent0d9ebe7
2 files changed+6−23
pkgs/misc/cups/default.nix+5−20 pkgs/top-level/all-packages.nix+1−3
pkgs/misc/cups/default.nix+5−20
@@ -1,11 +1,8 @@
11{ stdenv, fetchurl, pkgconfig, zlib, libjpeg, libpng, libtiff, pam, openssl
2−, dbus, acl, gmp
3−, libusb ? null, gnutls ? null, avahi ? null, libpaper ? null
4−}:
2+, dbus, libusb, acl, gmp }:
53
6−let version = "2.0.2"; in
4+let version = "1.7.5"; in
75
8−with stdenv.lib;
96stdenv.mkDerivation {
107 name = "cups-${version}";
118
@@ -13,27 +10,15 @@ stdenv.mkDerivation {
1310
1411 src = fetchurl {
1512 url = "https://www.cups.org/software/${version}/cups-${version}-source.tar.bz2";
16− sha256 = "12xild9nrhqnrzx8zqh78v3chm4mpp5gf5iamr0h9zb6dgvj11w5";
13+ sha256 = "00mx4rpiqw9cwx46bd3hd5lcgmcxy63zfnmkr02smanv8xl4rjqq";
1714 };
1815
19− buildInputs = [ pkgconfig zlib libjpeg libpng libtiff libusb gnutls avahi libpaper ]
16+ buildInputs = [ pkgconfig zlib libjpeg libpng libtiff libusb ]
2017 ++ stdenv.lib.optionals stdenv.isLinux [ pam dbus.libs acl ] ;
2118
2219 propagatedBuildInputs = [ openssl gmp ];
2320
24− configureFlags = [
25− "--localstatedir=/var"
26− "--sysconfdir=/etc"
27− "--with-systemd=\${out}/lib/systemd/system"
28− "--enable-raw-printing"
29− "--enable-threads"
30− ] ++ optionals stdenv.isLinux [
31− "--enable-dbus"
32− "--enable-pam"
33− ] ++ optional (libusb != null) "--enable-libusb"
34− ++ optional (gnutls != null) "--enable-ssl"
35− ++ optional (avahi != null) "--enable-avahi"
36− ++ optional (libpaper != null) "--enable-libpaper";
21+ configureFlags = "--localstatedir=/var --sysconfdir=/etc --enable-dbus"; # --with-dbusdir
3722
3823 installFlags =
3924 [ # Don't try to write in /var at build time.
pkgs/top-level/all-packages.nix+1−3
@@ -13578,9 +13578,7 @@ let
1357813578
1357913579 beep = callPackage ../misc/beep { };
1358013580
13581− cups = callPackage ../misc/cups {
13582− libusb = libusb1;
13583− };
13581+ cups = callPackage ../misc/cups { libusb = libusb1; };
1358413582
1358513583 cups_filters = callPackage ../misc/cups/filters.nix { };
1358613584