about summary refs log tree commit diff
path: root/pkgs/misc/cups/drivers/splix/default.nix
blob: 532ef2a45d5d4bee47ca17f4d32664f04bfad763 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{stdenv, fetchurl, cups, zlib}:

stdenv.mkDerivation rec {
  name = "splix-2.0.0";

  src = fetchurl {
    url = "mirror://sourceforge/splix/${name}.tar.bz2";
    sha256 = "0bwivrwwvh6hzvnycpzqs7a0capgycahc4s3v9ihx552fgy07xwp";
  };

  patches = [ ./splix-2.0.0-gcc45.patch ];

  preBuild=''
    makeFlags="V=1 DISABLE_JBIG=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model"
  '';

  buildInputs = [cups zlib];

  meta = {
    homepage = http://splix.sourceforge.net;
    platforms = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.simons ];
  };
}