splix: 2.0.0 -> svn-r315
r315 has been in use for several years, but was never officially released
This commit is contained in:
parent
b39c51a362
commit
a9f8613dae
@ -1,24 +1,35 @@
|
|||||||
{stdenv, fetchurl, cups, zlib}:
|
{ stdenv, fetchsvn, fetchurl, cups, zlib }:
|
||||||
|
let rev = "r315"; in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "splix-2.0.0";
|
name = "splix-svn-${rev}";
|
||||||
|
src = fetchsvn {
|
||||||
src = fetchurl {
|
# We build this from svn, because splix hasn't been in released in several years
|
||||||
url = "mirror://sourceforge/splix/${name}.tar.bz2";
|
# although the community has been adding some new printer models
|
||||||
sha256 = "0bwivrwwvh6hzvnycpzqs7a0capgycahc4s3v9ihx552fgy07xwp";
|
# if you are having problems, please try the stable version below and report back
|
||||||
|
url = "svn://svn.code.sf.net/p/splix/code/splix";
|
||||||
|
inherit rev;
|
||||||
|
sha256 = "16wbm4xnz35ca3mw2iggf5f4jaxpyna718ia190ka6y4ah932jxl";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./splix-2.0.0-gcc45.patch ];
|
preBuild = ''
|
||||||
|
|
||||||
preBuild=''
|
|
||||||
makeFlags="V=1 DISABLE_JBIG=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model"
|
makeFlags="V=1 DISABLE_JBIG=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [cups zlib];
|
buildInputs = [ cups zlib ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://splix.sourceforge.net;
|
homepage = http://splix.sourceforge.net;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
} /* // { # uncomment to build the stable version
|
||||||
|
|
||||||
|
name = "splix-2.0.0";
|
||||||
|
patches = [ ./splix-2.0.0-gcc45.patch ];
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/splix/${name}.tar.bz2";
|
||||||
|
sha256 = "0bwivrwwvh6hzvnycpzqs7a0capgycahc4s3v9ihx552fgy07xwp";
|
||||||
|
};
|
||||||
|
|
||||||
|
} */)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user