@@ -1,20 +1,20 @@
1−{ stdenv, fetchsvn, fetchurl, cups, zlib }:
2−let rev = "315"; in
1+{stdenv, fetchurl, cups, zlib}:
2+
33stdenv.mkDerivation rec {
4− name = "splix-svn-${rev}";
5− src = fetchsvn {
6− # We build this from svn, because splix hasn't been in released in several years
7− # although the community has been adding some new printer models.
8− url = "svn://svn.code.sf.net/p/splix/code/splix";
9− rev = "r${rev}";
10− sha256 = "16wbm4xnz35ca3mw2iggf5f4jaxpyna718ia190ka6y4ah932jxl";
4+ name = "splix-2.0.0";
5+
6+ src = fetchurl {
7+ url = "mirror://sourceforge/splix/${name}.tar.bz2";
8+ sha256 = "0bwivrwwvh6hzvnycpzqs7a0capgycahc4s3v9ihx552fgy07xwp";
119 };
1210
13− preBuild = ''
11+ patches = [ ./splix-2.0.0-gcc45.patch ];
12+
13+ preBuild=''
1414 makeFlags="V=1 DISABLE_JBIG=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model"
1515 '';
1616
17− buildInputs = [ cups zlib ];
17+ buildInputs = [cups zlib];
1818
1919 meta = {
2020 homepage = http://splix.sourceforge.net;