nixpkgs/pkgs/misc/cups/drivers/cups-bjnp/default.nix
Yury G. Kudryashov 70dbdd0e5b cups-bjnp: fix FTBFS
svn path=/nixpkgs/trunk/; revision=34410
2012-06-09 20:10:40 +00:00

20 lines
454 B
Nix

{stdenv, fetchurl, cups}:
stdenv.mkDerivation rec {
name = "cups-bjnp-0.5.4";
src = fetchurl {
url = "mirror://sourceforge/cups-bjnp/${name}.tar.gz";
sha256 = "1q5npis0jgs44yvczrr6pz87glk1d9lv3vr2s4nqrk3l0q4xplf6";
};
preConfigure = ''configureFlags="--with-cupsbackenddir=$out/lib/cups/backend"'';
buildInputs = [cups];
NIX_CFLAGS_COMPILE = "-include stdio.h";
meta = {
homepage = http://cups-bjnp.sourceforge.net;
};
}