2016-03-07 04:32:20 -08:00
|
|
|
{stdenv, fetchurl, cups, zlib}:
|
|
|
|
|
2016-02-27 09:33:17 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2016-03-07 04:32:20 -08:00
|
|
|
name = "splix-2.0.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/splix/${name}.tar.bz2";
|
|
|
|
sha256 = "0bwivrwwvh6hzvnycpzqs7a0capgycahc4s3v9ihx552fgy07xwp";
|
2010-04-14 12:27:15 -07:00
|
|
|
};
|
|
|
|
|
2016-03-07 04:32:20 -08:00
|
|
|
patches = [ ./splix-2.0.0-gcc45.patch ];
|
|
|
|
|
|
|
|
preBuild=''
|
2010-04-14 12:27:15 -07:00
|
|
|
makeFlags="V=1 DISABLE_JBIG=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model"
|
|
|
|
'';
|
|
|
|
|
2016-03-07 04:32:20 -08:00
|
|
|
buildInputs = [cups zlib];
|
2010-04-14 12:27:15 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://splix.sourceforge.net;
|
2011-09-20 13:25:26 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2010-04-14 12:27:15 -07:00
|
|
|
};
|
2016-02-27 09:33:17 -08:00
|
|
|
}
|