2016-03-18 11:30:29 +01:00
|
|
|
{ stdenv, fetchsvn, fetchurl, cups, zlib }:
|
|
|
|
let rev = "315"; in
|
2016-02-27 18:33:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-03-18 11:30:29 +01:00
|
|
|
name = "splix-svn-${rev}";
|
|
|
|
src = fetchsvn {
|
|
|
|
# We build this from svn, because splix hasn't been in released in several years
|
|
|
|
# although the community has been adding some new printer models.
|
|
|
|
url = "svn://svn.code.sf.net/p/splix/code/splix";
|
|
|
|
rev = "r${rev}";
|
|
|
|
sha256 = "16wbm4xnz35ca3mw2iggf5f4jaxpyna718ia190ka6y4ah932jxl";
|
2010-04-14 21:27:15 +02:00
|
|
|
};
|
|
|
|
|
2016-03-18 11:30:29 +01:00
|
|
|
preBuild = ''
|
2017-07-03 09:09:54 +02:00
|
|
|
makeFlags="V=1 DISABLE_JBIG=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model"
|
2010-04-14 21:27:15 +02:00
|
|
|
'';
|
|
|
|
|
2016-03-07 13:32:20 +01:00
|
|
|
buildInputs = [cups zlib];
|
2010-04-14 21:27:15 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://splix.sourceforge.net;
|
2011-09-20 22:25:26 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-05-16 22:30:20 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
2010-04-14 21:27:15 +02:00
|
|
|
};
|
2016-02-27 18:33:17 +01:00
|
|
|
}
|