Add splix cups driver

svn path=/nixpkgs/trunk/; revision=21078
This commit is contained in:
Yury G. Kudryashov 2010-04-14 19:27:15 +00:00
parent 1336665f0d
commit 0ab619066b
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{stdenv, fetchurl, cups, zlib}:
stdenv.mkDerivation rec {
name = "splix-2.0.0";
src = fetchurl {
url = "mirror://sourceforge/splix/${name}.tar.bz2";
sha256 = "0bwivrwwvh6hzvnycpzqs7a0capgycahc4s3v9ihx552fgy07xwp";
};
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;
};
}

View File

@ -9164,6 +9164,10 @@ let
hasktags = haskellPackages.myhasktags;
};
splix = import ../misc/cups/drivers/splix {
inherit stdenv fetchurl cups zlib;
};
synaptics = import ../misc/synaptics {
inherit fetchurl stdenv pkgconfig;
inherit (xlibs) libX11 libXi libXext pixman xf86inputevdev;