e338d6a0fc
This reverts commit6ea526462b
anda9f8613dae
to fix https://github.com/NixOS/nixpkgs/issues/13734.
25 lines
586 B
Nix
25 lines
586 B
Nix
{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 ];
|
|
};
|
|
}
|