3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/cups/drivers/cups-bjnp/default.nix

20 lines
454 B
Nix
Raw Normal View History

{stdenv, fetchurl, cups}:
stdenv.mkDerivation rec {
2013-12-18 13:08:51 +00:00
name = "cups-bjnp-1.2.1";
src = fetchurl {
url = "mirror://sourceforge/cups-bjnp/${name}.tar.gz";
2013-12-18 13:08:51 +00:00
sha256 = "0fjpp0mmmwfcr790hfjs0brsxxb7dz7v2xab6wc30rwzkqmgz95x";
};
preConfigure = ''configureFlags="--with-cupsbackenddir=$out/lib/cups/backend"'';
buildInputs = [cups];
NIX_CFLAGS_COMPILE = "-include stdio.h";
meta = {
homepage = http://cups-bjnp.sourceforge.net;
};
}