Skip to content

Commit dacfe81

Browse files
layusfpletz
authored andcommittedMay 24, 2017
cups_filters: 1.11.1 -> 1.14.0
1 parent d69c296 commit dacfe81

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed
 

‎pkgs/misc/cups/filters.nix

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
{ stdenv, fetchurl, pkgconfig, cups, poppler, poppler_utils, fontconfig
22
, libjpeg, libpng, perl, ijs, qpdf, dbus, substituteAll, bash, avahi
3-
, makeWrapper, coreutils, gnused, bc, gawk, gnugrep, which
3+
, makeWrapper, coreutils, gnused, bc, gawk, gnugrep, which, ghostscript
4+
, mupdf
45
}:
56

67
let
78
binPath = stdenv.lib.makeBinPath [ coreutils gnused bc gawk gnugrep which ];
89

910
in stdenv.mkDerivation rec {
1011
name = "cups-filters-${version}";
11-
version = "1.11.1";
12+
version = "1.14.0";
1213

1314
src = fetchurl {
1415
url = "http://openprinting.org/download/cups-filters/${name}.tar.xz";
15-
sha256 = "0x0jxn1hnif92m7dyqrqh015gpsf79dviarb7dfl0zya2drlk1m8";
16+
sha256 = "1v553wvr8qdwb1g04if7cw1mfm42vs6xfyg0cvzvbng6yr6jg93s";
1617
};
1718

1819
nativeBuildInputs = [ pkgconfig makeWrapper ];
1920

2021
buildInputs = [
2122
cups poppler poppler_utils fontconfig libjpeg libpng perl
22-
ijs qpdf dbus avahi
23+
ijs qpdf dbus avahi ghostscript mupdf
2324
];
2425

2526
configureFlags = [
@@ -41,6 +42,9 @@ in stdenv.mkDerivation rec {
4142
4243
# Ensure that gstoraster can find gs in $PATH.
4344
substituteInPlace filter/gstoraster.c --replace execve execvpe
45+
46+
# Patch shebangs of generated build scripts
47+
patchShebangs filter
4448
'';
4549

4650
postInstall =
@@ -57,5 +61,6 @@ in stdenv.mkDerivation rec {
5761
description = "Backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc";
5862
license = stdenv.lib.licenses.gpl2;
5963
platforms = stdenv.lib.platforms.linux;
64+
maintainers = with stdenv.lib.maintainers; [ layus ];
6065
};
6166
}

0 commit comments

Comments
 (0)
Please sign in to comment.